projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reverted the last change (colour values changes), it cerated too many problems
[wxWidgets.git]
/
src
/
common
/
menucmn.cpp
diff --git
a/src/common/menucmn.cpp
b/src/common/menucmn.cpp
index 0a00187d3b033a3a65635deb14f6766d0eabb6d1..7208dbbd496d96ae5a33046ef6f570890bdd1378 100644
(file)
--- 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_MSG( node, NULL, wxT("bad index in wxMenuBar::Remove()") );
wxMenu *menu = node->GetData();
- wxCHECK( node, NULL ); // unexpected
m_menus.Erase(node);
menu->Detach();
m_menus.Erase(node);
menu->Detach();