dabo Commit
Revision 5533
Date: 2009-11-18 15:40:21 -0800 (Wed, 18 Nov 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5533
Changed:
U trunk/dabo/ui/uiwx/dSpinner.py
Log:
Windows XP needs this layout call to ensure the arrows size to the textbox
height. Linux doesn't need it but it doesn't hurt. Untested on Mac.
Diff:
Modified: trunk/dabo/ui/uiwx/dSpinner.py
===================================================================
--- trunk/dabo/ui/uiwx/dSpinner.py 2009-11-18 22:50:21 UTC (rev 5532)
+++ trunk/dabo/ui/uiwx/dSpinner.py 2009-11-18 23:40:21 UTC (rev 5533)
@@ -74,7 +74,9 @@
pt.Bind(wx.EVT_KILL_FOCUS, self._onLostFocus)
#self.bindEvent(dEvents.KeyChar, self._onChar)
self._rerestoreValue()
+ dabo.ui.callAfter(self.layout)
+
def _rerestoreValue(self):
# Hack because when restoreValue() was originally called in
onCreate,
# the name of the control hadn't been set yet.
_______________________________________________
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]