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
This commit is contained in:
Vadim Zeitlin 2005-07-08 21:16:12 +00:00
parent 3eca31dc17
commit 06a848bc42

View 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
}