call RemoveChild() in ~wxWindowBase instead of doing it in each ~wxWindow for each port

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-09-15 11:45:08 +00:00
parent 8bdd5efa86
commit 8e35ab96f6
11 changed files with 11 additions and 51 deletions

View File

@@ -2667,9 +2667,6 @@ wxWindowGTK::~wxWindowGTK()
DestroyChildren();
if (m_parent)
m_parent->RemoveChild( this );
#ifdef HAVE_XIM
if (m_ic)
gdk_ic_destroy (m_ic);