X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/887935485423bba2e7eb2b63e933b055af3670da..e07d33e7244bbc6192b00cd7839ea96a50014228:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 6b87a729e1..423526f738 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -200,9 +200,6 @@ bool wxWindow::MapOrUnmap(WXWidget widget, bool domap) void wxWindow::Init() { - // generic initializations first - InitBase(); - // Motif-specific m_needsRefresh = TRUE; m_mainWidget = (WXWidget) 0; @@ -210,7 +207,6 @@ void wxWindow::Init() m_winCaptured = FALSE; m_isShown = TRUE; - m_isBeingDeleted = FALSE; m_hScrollBar = m_vScrollBar = @@ -374,9 +370,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 )