dabo Commit Revision 1497 Date: 2005-10-31 16:36:29 -0800 (Mon, 31 Oct 2005) Author: paul
Changed: U trunk/dabo/ui/uiwx/dMenuItem.py
Log: Menu item hit events were sometimes occurring twice. Not sure what I did today that made this happen, but this works around the problem.
Diff: Modified: trunk/dabo/ui/uiwx/dMenuItem.py =================================================================== --- trunk/dabo/ui/uiwx/dMenuItem.py 2005-11-01 00:13:32 UTC (rev 1496) +++ trunk/dabo/ui/uiwx/dMenuItem.py 2005-11-01 00:36:29 UTC (rev 1497) @@ -38,6 +38,7 @@ def __onWxHit(self, evt): self.raiseEvent(dEvents.Hit, evt) + evt.Skip(False) def _getCaption(self):
©2005 Paul McNett |