]> git.saurik.com Git - wxWidgets.git/commitdiff
made IsMaximized() return true if frame had been maximized before being shown
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 8 Jul 2005 21:16:12 +0000 (21:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 8 Jul 2005 21:16:12 +0000 (21:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/toplevel.cpp

index 4324dca617e118466343ae220e6774270d9d4f73..c8d5ef01f22063c7dd196a91ee9385e531e3a2f2 100644 (file)
@@ -676,7 +676,7 @@ bool wxTopLevelWindowMSW::IsMaximized() const
 #ifdef __WXWINCE__
     return false;
 #else
-    return ::IsZoomed(GetHwnd()) != 0;
+    return m_maximizeOnShow || ::IsZoomed(GetHwnd()) != 0;
 #endif
 }