don't show the window initially if m_isShown is false, i.e. if Hide() had been called before Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -121,8 +121,8 @@ wxWindowBase::wxWindowBase()
|
||||
m_maxWidth =
|
||||
m_maxHeight = -1;
|
||||
|
||||
// window is created enabled but it's not visible yet
|
||||
m_isShown = false;
|
||||
// window are created enabled and visible by default
|
||||
m_isShown =
|
||||
m_isEnabled = true;
|
||||
|
||||
// the default event handler is just this window
|
||||
|
Reference in New Issue
Block a user