dabo Commit
Revision 1506
Date: 2005-11-01 14:16:52 -0800 (Tue, 01 Nov 2005)
Author: paul
Changed:
U trunk/dabo/ui/uiwx/dToolBar.py
Log:
One of my last changes resulted in a Dabo Hit event propagating to user code,
instead of the raw wx.EVT_MENU event. This change made a small part of the
test code not work. Fixed.
Diff:
Modified: trunk/dabo/ui/uiwx/dToolBar.py
===================================================================
--- trunk/dabo/ui/uiwx/dToolBar.py 2005-11-01 22:11:34 UTC (rev 1505)
+++ trunk/dabo/ui/uiwx/dToolBar.py 2005-11-01 22:16:52 UTC (rev 1506)
@@ -302,7 +302,8 @@
dabo.ui.info("Copy Clicked!")
def onTimer(self, evt):
- dabo.ui.info("CHECKED: %s, ID: %s" % (evt.Checked(),
evt.GetId()))
+ item = evt.EventObject
+ dabo.ui.info("CHECKED: %s, ID: %s" % (item.IsToggled(),
item.GetId()))
def onExit(self, evt):
app = self.Application
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev