fixed assert failure when removing a menu

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-12-04 01:29:21 +00:00
parent 81f256328c
commit f736ec7623

View File

@ -720,8 +720,6 @@ wxMenu *wxMenuBar::Remove(size_t pos)
wxLogLastError(wxT("RemoveMenu"));
}
menu->Detach();
#if wxUSE_ACCEL
if ( menu->HasAccels() )
{