dabo Commit
Revision 4323
Date: 2008-07-30 09:39:06 -0700 (Wed, 30 Jul 2008)
Author: Nate
Trac: http://svn.dabodev.com/trac/dabo/changeset/4323
Changed:
U trunk/dabo/ui/uiwx/dTreeView.py
Log:
self.tree.GetItemFont was returning an invalid font and when you go to set
FontInfo or FontUnderline it throws an error. This was most apparent in the CD
when you would try to add a treeview and it would throw an error. Is there any
reason why we were overriding the default native font to begin with?
Diff:
Modified: trunk/dabo/ui/uiwx/dTreeView.py
===================================================================
--- trunk/dabo/ui/uiwx/dTreeView.py 2008-07-28 19:51:58 UTC (rev 4322)
+++ trunk/dabo/ui/uiwx/dTreeView.py 2008-07-30 16:39:06 UTC (rev 4323)
@@ -121,7 +121,7 @@
if hasattr(self, "_font"):
v = self._font
else:
- v = self.Font =
dabo.ui.dFont(_nativeFont=self.tree.GetItemFont(self.itemID))
+ v = self.Font = dabo.ui.dFont()
return v
def _setFont(self, val):
_______________________________________________
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]