]> git.saurik.com Git - wxWidgets.git/commitdiff
applied bug fix
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 4 Oct 2003 08:26:05 +0000 (08:26 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 4 Oct 2003 08:26:05 +0000 (08:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/menu.cpp
src/mac/menu.cpp

index b17214fb389069a65d8f0bd928b7e04c6eae2daf..046f7e0166fbb7097e0611b2f72ff99a260d74dd 100644 (file)
@@ -741,8 +741,6 @@ wxMenu *wxMenuBar::Remove(size_t pos)
             ::DeleteMenu( menu->MacGetMenuId() /* m_menus[pos]->MacGetMenuId() */ ) ;
         }
 
-        menu->Detach();
-
         Refresh();
     }
 
index b17214fb389069a65d8f0bd928b7e04c6eae2daf..046f7e0166fbb7097e0611b2f72ff99a260d74dd 100644 (file)
@@ -741,8 +741,6 @@ wxMenu *wxMenuBar::Remove(size_t pos)
             ::DeleteMenu( menu->MacGetMenuId() /* m_menus[pos]->MacGetMenuId() */ ) ;
         }
 
-        menu->Detach();
-
         Refresh();
     }