X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c193821a999730fbf6a9bea83763f37daae68f1..5e2ab1ea5d6bab772a7d2600e708f38f0f3439aa:/src/common/menucmn.cpp diff --git a/src/common/menucmn.cpp b/src/common/menucmn.cpp index 0a00187d3b..7208dbbd49 100644 --- a/src/common/menucmn.cpp +++ b/src/common/menucmn.cpp @@ -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();