From 86828e0f9fc50734ee6417009d796945b8ccacdd Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 2 Jun 2005 08:01:39 +0000 Subject: [PATCH] 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 --- src/msw/toplevel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 2378243914..89571142bf 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -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); -- 2.45.2