git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31355
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxASSERT_MSG( (!window || (window && window->GetParent() == this)),
_T("windows in the splitter should have it as parent!") );
wxASSERT_MSG( (!window || (window && window->GetParent() == this)),
_T("windows in the splitter should have it as parent!") );
+ if (! window->IsShown())
+ window->Show();
+
m_windowOne = window;
m_windowTwo = (wxWindow *) NULL;
DoSetSashPosition(0);
m_windowOne = window;
m_windowTwo = (wxWindow *) NULL;
DoSetSashPosition(0);