Applied patch [ 1213290 ] incorrect logic in wxTopLevelWindowMSW::ShowFullScreen

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-06-02 08:01:39 +00:00
parent 96339a78f2
commit 86828e0f9f

View File

@@ -757,7 +757,7 @@ bool wxTopLevelWindowMSW::ShowFullScreen(bool show, long style)
rect = wxDisplay(dpy).GetGeometry();
}
else // fall back to the main desktop
#else // wxUSE_DISPLAY
#endif // wxUSE_DISPLAY
{
// resize to the size of the desktop
wxCopyRECTToRect(wxGetWindowRect(::GetDesktopWindow()), rect);
@@ -768,7 +768,6 @@ bool wxTopLevelWindowMSW::ShowFullScreen(bool show, long style)
rect.y = 0;
#endif
}
#endif // wxUSE_DISPLAY
SetSize(rect);