]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/mdi.cpp
update frm Ivan Masar
[wxWidgets.git] / src / gtk / mdi.cpp
index 8caf06b92aebd9b4b18b0c31bc27d4b5d20a2e7e..1335dd02bb073d7d33e230b07363871534da2225 100644 (file)
@@ -496,8 +496,6 @@ wxMDIClientWindow::~wxMDIClientWindow()
 
 bool wxMDIClientWindow::CreateClient( wxMDIParentFrame *parent, long style )
 {
-    m_needParent = true;
-
     m_insertCallback = (wxInsertChildFunction)wxInsertChildInMDI;
 
     if (!PreCreation( parent, wxDefaultPosition, wxDefaultSize ) ||
@@ -523,4 +521,4 @@ bool wxMDIClientWindow::CreateClient( wxMDIParentFrame *parent, long style )
     return true;
 }
 
-#endif
+#endif // wxUSE_MDI