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:
@@ -54,6 +54,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxTopLevelWindow, wxWindow)
|
|||||||
|
|
||||||
wxTopLevelWindowBase::wxTopLevelWindowBase()
|
wxTopLevelWindowBase::wxTopLevelWindowBase()
|
||||||
{
|
{
|
||||||
|
// Unlike windows, top level windows are created hidden by default.
|
||||||
|
m_isShown = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxTopLevelWindowBase::~wxTopLevelWindowBase()
|
wxTopLevelWindowBase::~wxTopLevelWindowBase()
|
||||||
|
@@ -139,9 +139,6 @@ void wxTopLevelWindowMSW::Init()
|
|||||||
m_iconized =
|
m_iconized =
|
||||||
m_maximizeOnShow = FALSE;
|
m_maximizeOnShow = FALSE;
|
||||||
|
|
||||||
// unlike (almost?) all other windows, frames are created hidden
|
|
||||||
m_isShown = FALSE;
|
|
||||||
|
|
||||||
// Data to save/restore when calling ShowFullScreen
|
// Data to save/restore when calling ShowFullScreen
|
||||||
m_fsStyle = 0;
|
m_fsStyle = 0;
|
||||||
m_fsOldWindowStyle = 0;
|
m_fsOldWindowStyle = 0;
|
||||||
|
Reference in New Issue
Block a user