fix for a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -787,7 +787,6 @@ wxMenu *wxMenuBarBase::Remove(size_t pos)
|
||||
wxCHECK_MSG( node, NULL, wxT("bad index in wxMenuBar::Remove()") );
|
||||
|
||||
wxMenu *menu = node->GetData();
|
||||
wxCHECK( node, NULL ); // unexpected
|
||||
m_menus.Erase(node);
|
||||
menu->Detach();
|
||||
|
||||
|
Reference in New Issue
Block a user