From: Vadim Zeitlin Date: Fri, 8 Jul 2005 21:16:12 +0000 (+0000) Subject: made IsMaximized() return true if frame had been maximized before being shown X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/06a848bc42600ba5a7fdb7cfe792772981afdbc8?ds=sidebyside made IsMaximized() return true if frame had been maximized before being shown git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 4324dca617..c8d5ef01f2 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -676,7 +676,7 @@ bool wxTopLevelWindowMSW::IsMaximized() const #ifdef __WXWINCE__ return false; #else - return ::IsZoomed(GetHwnd()) != 0; + return m_maximizeOnShow || ::IsZoomed(GetHwnd()) != 0; #endif }