wxFrame::Maximize(FALSE) would maximize the window if

called before showing it
Backport from head


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-04-06 14:45:30 +00:00
parent b0b5189e03
commit 410b0c776d
2 changed files with 3 additions and 1 deletions

View File

@@ -207,6 +207,8 @@ wxMSW:
- fix for sending event from wxCheckListBox::Check()
- wxCaret::SetSize correction for showing caret
- fix for wxTreeCtrl label editing in wxTR_MULTIPLE mode
- wxFrame::Maximize(FALSE) would maximize the window if
called before showing it
wxMotif:

View File

@@ -564,7 +564,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;
}
}