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:
parent
cf6fa9b9ad
commit
c7e61a5ed2
@ -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()
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user