X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c193821a999730fbf6a9bea83763f37daae68f1..f0244295e3a35a37473e9ba83d6ceea0d17259da:/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();