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:
parent
81f256328c
commit
f736ec7623
@ -720,8 +720,6 @@ wxMenu *wxMenuBar::Remove(size_t pos)
|
||||
wxLogLastError(wxT("RemoveMenu"));
|
||||
}
|
||||
|
||||
menu->Detach();
|
||||
|
||||
#if wxUSE_ACCEL
|
||||
if ( menu->HasAccels() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user