projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86f19f7
)
set the event object of the menu events to the frame the menu is attached to instead...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 3 Nov 2007 21:48:47 +0000
(21:48 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sat, 3 Nov 2007 21:48:47 +0000
(21:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49609
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/gtk/menu.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/gtk/menu.cpp
b/src/gtk/menu.cpp
index 718e3c801b26522ef8e02045f588e2b21ddaba98..a48c4c3b0436e7cbab5a6a483c1425b9cd62309e 100644
(file)
--- a/
src/gtk/menu.cpp
+++ b/
src/gtk/menu.cpp
@@
-611,7
+611,6
@@
static void gtk_menu_clicked_callback( GtkWidget *widget, wxMenu *menu )
commandEvent.SetEventObject(frame);
if (item->IsCheckable())
commandEvent.SetInt(item->IsChecked());
commandEvent.SetEventObject(frame);
if (item->IsCheckable())
commandEvent.SetInt(item->IsChecked());
- commandEvent.SetEventObject(menu);
frame->GetEventHandler()->ProcessEvent(commandEvent);
}
frame->GetEventHandler()->ProcessEvent(commandEvent);
}