fixed compilation on non-windows

This commit is contained in:
fourtf 2019-09-01 14:15:36 +02:00
parent ae20acb7ea
commit 00c1de54b9

View file

@ -828,6 +828,7 @@ bool BaseWindow::handleSIZE(MSG *msg)
bool BaseWindow::handleMOVE(MSG *msg) bool BaseWindow::handleMOVE(MSG *msg)
{ {
#ifdef USEWINSDK
if (this->isNotMinimizedOrMaximized_) if (this->isNotMinimizedOrMaximized_)
{ {
RECT rect; RECT rect;
@ -836,6 +837,7 @@ bool BaseWindow::handleMOVE(MSG *msg)
QPoint(rect.right - 1, rect.bottom - 1)); QPoint(rect.right - 1, rect.bottom - 1));
} }
return false; return false;
#endif
} }
bool BaseWindow::handleNCHITTEST(MSG *msg, long *result) bool BaseWindow::handleNCHITTEST(MSG *msg, long *result)