dabo Commit
Revision 4393
Date: 2008-08-10 09:01:16 -0700 (Sun, 10 Aug 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4393
Changed:
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
Attempt #2 at the fix for the auto-api doc.
Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2008-08-10 15:59:09 UTC (rev 4392)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2008-08-10 16:01:16 UTC (rev 4393)
@@ -1714,9 +1714,11 @@
def _getBackColor(self):
- if self._constructed():
+ try:
return self.GetBackgroundColour().Get()
- return None
+ except TypeError:
+ # very early in construction
+ return None
def _setBackColor(self, val):
if self._constructed():
_______________________________________________
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/%(messageid)s