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:
Vadim Zeitlin
2003-07-11 22:28:39 +00:00
parent f1c75e0f93
commit 1ab378c03f

View File

@@ -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();