]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
TransferFrom/ToWindow() were reverted, fixed
[wxWidgets.git] / src / motif / window.cpp
index 6b87a729e162e5cdc41294fffd0cd392825e6994..63b1e37a5207c060e84ba199ada944b601a9d4ab 100644 (file)
@@ -374,9 +374,6 @@ wxWindow::~wxWindow()
         DetachWidget(wMain);
     }
 
-    if ( m_parent )
-        m_parent->RemoveChild( this );
-
     // If m_drawingArea, we're a fully-fledged window with drawing area,
     // scrollbars etc. (what wxCanvas used to be)
     if ( m_drawingArea )