]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove superfluous call to CocoaRemoveFromParent (it's done in ~wxWindow)
authorDavid Elliott <dfe@tgwbd.org>
Mon, 16 Feb 2004 03:40:26 +0000 (03:40 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Mon, 16 Feb 2004 03:40:26 +0000 (03:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/checklst.mm
src/cocoa/choice.mm

index 5fa53cf917d97a9fc802d5dfd4bfcf42dd17b34a..09a347ecd2a98bbecb61bc704ae6ead6845dd137 100644 (file)
@@ -53,7 +53,6 @@ bool wxCheckListBox::Create(wxWindow *parent, wxWindowID winid,
 
 wxCheckListBox::~wxCheckListBox()
 {
-    CocoaRemoveFromParent();
 }
 
 bool wxCheckListBox::IsChecked(size_t item) const
index 578cbec40c3aa13640b9fbe6ee618db2c84c575a..3dd3ae306b1cf714705a039c153b8d2d17dcf277 100644 (file)
@@ -112,8 +112,6 @@ wxChoice::~wxChoice()
             delete (wxClientData*)m_itemsClientData.Item(i);
     }
     m_itemsClientData.Clear();
-
-    CocoaRemoveFromParent();
 }
 
 void wxChoice::CocoaNotification_menuDidSendAction(WX_NSNotification notification)