fixed calling Maximize(FALSE) before the window is shown (bug 667665)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-01-15 14:58:17 +00:00
parent a3bc6643b7
commit a0be434e78
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ wxMSW:
- fixed bug with wxTR_EDIT_LABELS not workign with wxTR_MULTIPLE
- fixes for compilation with OpenWatcom compiler
- fixed wxStaticText best size calculation (was wrong by '&' width)
- fixed calling wxFrame::Maximize(FALSE) before the window is shown
OLD CHANGES
===========

View File

@ -567,7 +567,7 @@ void wxTopLevelWindowMSW::Maximize(bool maximize)
{
// we can't maximize the hidden frame because it shows it as well, so
// just remember that we should do it later in this case
m_maximizeOnShow = TRUE;
m_maximizeOnShow = maximize;
}
}