oops, fatal MDI bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -109,6 +109,9 @@ void wxFrame::Init()
|
|||||||
// m_fsMenu = 0;
|
// m_fsMenu = 0;
|
||||||
m_fsIsMaximized = FALSE;
|
m_fsIsMaximized = FALSE;
|
||||||
m_fsIsShowing = FALSE;
|
m_fsIsShowing = FALSE;
|
||||||
|
|
||||||
|
// unlike (almost?) all other windows, frames are created hidden
|
||||||
|
m_isShown = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxFrame::Create(wxWindow *parent,
|
bool wxFrame::Create(wxWindow *parent,
|
||||||
@@ -155,9 +158,6 @@ bool wxFrame::Create(wxWindow *parent,
|
|||||||
|
|
||||||
wxModelessWindows.Append(this);
|
wxModelessWindows.Append(this);
|
||||||
|
|
||||||
// unlike (almost?) all other windows, frames are created hidden
|
|
||||||
m_isShown = FALSE;
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user