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:
parent
3eca31dc17
commit
06a848bc42
@ -676,7 +676,7 @@ bool wxTopLevelWindowMSW::IsMaximized() const
|
||||
#ifdef __WXWINCE__
|
||||
return false;
|
||||
#else
|
||||
return ::IsZoomed(GetHwnd()) != 0;
|
||||
return m_maximizeOnShow || ::IsZoomed(GetHwnd()) != 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user