dabo Commit
Revision 5456
Date: 2009-10-13 13:35:40 -0700 (Tue, 13 Oct 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5456
Changed:
U trunk/dabo/ui/uiwx/dFormMixin.py
Log:
Another attempted fix to Jeff's StatusBar problem.
Diff:
Modified: trunk/dabo/ui/uiwx/dFormMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dFormMixin.py 2009-10-13 18:34:07 UTC (rev 5455)
+++ trunk/dabo/ui/uiwx/dFormMixin.py 2009-10-13 20:35:40 UTC (rev 5456)
@@ -918,11 +918,14 @@
ret = sb.GetStatusText()
return ret
- def _setStatusText(self, val):
+ def _setStatusText(self, val, _callAfter=True):
""" Set the text of the status bar. Dabo will decide whether to
send the text to the main frame or this frame. This matters
with MDI
versus non-MDI forms.
"""
+ if _callAfter:
+ dabo.ui.callAfterInterval(250, self._setStatusText,
val, _callAfter=False)
+ return
if sys.platform.startswith("win") and isinstance(self,
wx.MDIChildFrame):
controllingFrame = self.Application.MainForm
else:
_______________________________________________
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]