dabo Commit
Revision 2165
Date: 2006-05-17 04:40:57 -0700 (Wed, 17 May 2006)
Author: ed
Changed:
U trunk/dabo/ui/uiwx/dRadioList.py
Log:
This fixes Tracker #0145, which was selecting the wrong button when clicking on
any but the first.
Diff:
Modified: trunk/dabo/ui/uiwx/dRadioList.py
===================================================================
--- trunk/dabo/ui/uiwx/dRadioList.py 2006-05-17 01:06:12 UTC (rev 2164)
+++ trunk/dabo/ui/uiwx/dRadioList.py 2006-05-17 11:40:57 UTC (rev 2165)
@@ -59,7 +59,7 @@
def _onWxButton(self, evt):
- pos = evt.GetEventObject().getPositionInSizer()
+ pos = self._items.index(evt.GetEventObject())
self.PositionValue = pos
# This allows the event processing to properly
# set the EventData["index"] properly.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev