dabo Commit
Revision 4905
Date: 2009-01-05 06:50:31 -0800 (Mon, 05 Jan 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/4905
Changed:
U trunk/dabo/ui/uiwx/dMenuBar.py
Log:
Added the missing wx event to the raise call. Without that, no menu information
could be obtained.
Diff:
Modified: trunk/dabo/ui/uiwx/dMenuBar.py
===================================================================
--- trunk/dabo/ui/uiwx/dMenuBar.py 2009-01-03 16:52:55 UTC (rev 4904)
+++ trunk/dabo/ui/uiwx/dMenuBar.py 2009-01-05 14:50:31 UTC (rev 4905)
@@ -36,7 +36,7 @@
## we are exposing two menu events: dEvents.Hit and
dEvents.Highlight.
menu = evt.GetMenu()
if menu and isinstance(menu, dMenu.dMenu):
- menu.raiseEvent(dEvents.MenuHighlight)
+ menu.raiseEvent(dEvents.MenuHighlight, evt)
evt.Skip()
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]