From 06a848bc42600ba5a7fdb7cfe792772981afdbc8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 8 Jul 2005 21:16:12 +0000 Subject: [PATCH] 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 --- src/msw/toplevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }