]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/window.mm
mention ShouldInheritColours() change
[wxWidgets.git] / src / cocoa / window.mm
index 0b0bb5ede7db21dcbd5a6236362feca4ffbdac7f..8412232abbd5678d00700965a878085b1979053d 100644 (file)
@@ -281,9 +281,6 @@ wxWindow::~wxWindow()
     wxAutoNSAutoreleasePool pool;
     DestroyChildren();
 
-    if(m_parent)
-        m_parent->RemoveChild(this);
-
     CocoaRemoveFromParent();
     delete m_cocoaHider;
     delete m_cocoaScroller;