]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/menu.cpp
Fixed DDE memory leaks.
[wxWidgets.git] / 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();
     }