projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated release notes for 2.9.5.
[wxWidgets.git]
/
src
/
univ
/
menu.cpp
diff --git
a/src/univ/menu.cpp
b/src/univ/menu.cpp
index 15a7adb8374e85bceb14299ec1888042f3565ec7..957fb399722208075e6b8c6a505eb747420c3993 100644
(file)
--- a/
src/univ/menu.cpp
+++ b/
src/univ/menu.cpp
@@
-1207,6
+1207,10
@@
void wxMenu::Attach(wxMenuBarBase *menubar)
void wxMenu::Detach()
{
+ // After the menu is detached from the menu bar, it shouldn't send its
+ // events to it.
+ SetNextHandler(NULL);
+
wxMenuBase::Detach();
}