call wxMDIClientWindow::CreateClient()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-09 13:35:08 +00:00
parent fe8e8fb80d
commit daa9c57738

View File

@@ -118,8 +118,10 @@ bool wxMDIParentFrame::Create(wxWindow *parent,
m_parentFrameActive = true; m_parentFrameActive = true;
m_clientWindow = OnCreateClient(); m_clientWindow = OnCreateClient();
if ( !m_clientWindow || !m_clientWindow->CreateClient(this, style) )
return false;
return m_clientWindow != NULL; return true;
} }
wxMDIParentFrame::~wxMDIParentFrame() wxMDIParentFrame::~wxMDIParentFrame()