dabo Commit
Revision 4862
Date: 2008-12-17 11:05:52 -0800 (Wed, 17 Dec 2008)
Author: Paul
Trac: http://trac.dabodev.com/dabo/changeset/4862
Changed:
U trunk/dabo/ui/uiwx/__init__.py
Log:
Moved to runOK() in the choice dialog.
Diff:
Modified: trunk/dabo/ui/uiwx/__init__.py
===================================================================
--- trunk/dabo/ui/uiwx/__init__.py 2008-12-17 18:59:01 UTC (rev 4861)
+++ trunk/dabo/ui/uiwx/__init__.py 2008-12-17 19:05:52 UTC (rev 4862)
@@ -778,7 +778,7 @@
lbl = dabo.ui.dLabel(self, Caption=message)
self.lst = dabo.ui.dListBox(self, Choices=choices,
PositionValue=defaultPos,
MultipleSelect=mult,
- OnMouseLeftDoubleClick=self.onOK)
+
OnMouseLeftDoubleClick=self.onMouseLeftDoubleClick)
sz = self.Sizer
sz.appendSpacer(25)
sz.append(lbl, halign="center")
@@ -804,6 +804,9 @@
borderSides=("left", "right"))
sz.appendSpacer(24)
+ def onMouseLeftDoubleClick(self, evt):
+ self.runOK()
+
def selectAll(self, evt):
self.lst.selectAll()
_______________________________________________
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]