Move m_isShown = false; into base class constructor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2004-03-25 20:19:36 +00:00
parent cf6fa9b9ad
commit c7e61a5ed2
2 changed files with 2 additions and 3 deletions

View File

@ -54,6 +54,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
wxTopLevelWindowBase::wxTopLevelWindowBase()
{
// Unlike windows, top level windows are created hidden by default.
m_isShown = false;
}
wxTopLevelWindowBase::~wxTopLevelWindowBase()

View File

@ -139,9 +139,6 @@ void wxTopLevelWindowMSW::Init()
m_iconized =
m_maximizeOnShow = FALSE;
// unlike (almost?) all other windows, frames are created hidden
m_isShown = FALSE;
// Data to save/restore when calling ShowFullScreen
m_fsStyle = 0;
m_fsOldWindowStyle = 0;