dabo Commit
Revision 6817
Date: 2011-09-01 13:13:27 -0700 (Thu, 01 Sep 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6817
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Added a comment warning against any temptation to wrap SetFocus() in a
callAfter().
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2011-09-01 18:13:57 UTC (rev 6816)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2011-09-01 20:13:27 UTC (rev 6817)
@@ -1296,6 +1296,8 @@
def setFocus(self):
"""Sets focus to the object."""
+ ## Up until r6816, the following was wrapped in a callAfter(),
which made for
+ ## lousy performance, especially on Windows.
self.SetFocus()
_______________________________________________
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]