dabo Commit
Revision 5628
Date: 2010-02-03 09:02:43 -0800 (Wed, 03 Feb 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5628
Changed:
U trunk/dabo/ui/uiwx/dStatusBar.py
Log:
Fixed a bug that only happened if you called the layout() method of the
StatusBar. The attribute '_platformIsWindows' had been previously defined in
dPanel, but dStatusBar no longer inherits from that.
Diff:
Modified: trunk/dabo/ui/uiwx/dStatusBar.py
===================================================================
--- trunk/dabo/ui/uiwx/dStatusBar.py 2010-02-02 19:05:03 UTC (rev 5627)
+++ trunk/dabo/ui/uiwx/dStatusBar.py 2010-02-03 17:02:43 UTC (rev 5628)
@@ -20,6 +20,7 @@
preClass = wx.PreStatusBar
dcm.dControlMixin.__init__(self, preClass, parent, properties,
attProperties,
*args, **kwargs)
+ self._platformIsWindows = (self.Application.Platform == "Win")
def layout(self):
_______________________________________________
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]