git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31354
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxCHECK_MSG( window1->GetParent() == this && window2->GetParent() == this, false,
_T("windows in the splitter should have it as parent!") );
wxCHECK_MSG( window1->GetParent() == this && window2->GetParent() == this, false,
_T("windows in the splitter should have it as parent!") );
+ if (! window1->IsShown())
+ window1->Show();
+ if (! window2->IsShown())
+ window2->Show();
+
m_splitMode = mode;
m_windowOne = window1;
m_windowTwo = window2;
m_splitMode = mode;
m_windowOne = window1;
m_windowTwo = window2;