Fixed bug when maximizing a window on Windows (was introduced recently)

This commit is contained in:
Laurent Gomila 2013-07-11 23:10:51 +02:00
parent 9528fbc893
commit b3357eed2a

View File

@ -497,10 +497,6 @@ void WindowImplWin32::processEvent(UINT message, WPARAM wParam, LPARAM lParam)
// We override the returned information to remove the default limit
// (the OS doesn't allow windows bigger than the desktop by default)
MINMAXINFO* info = reinterpret_cast<MINMAXINFO*>(lParam);
info->ptMaxPosition.x = 50000;
info->ptMaxPosition.y = 50000;
info->ptMaxSize.x = 50000;
info->ptMaxSize.y = 50000;
info->ptMaxTrackSize.x = 50000;
info->ptMaxTrackSize.y = 50000;
break;