dabo Commit
Revision 2569
Date: 2006-12-20 14:12:01 -0800 (Wed, 20 Dec 2006)
Author: Ed
Changed:
U branches/stable/dabo/ui/uiwx/dGrid.py
U branches/stable/dabo/ui/uiwx/dImage.py
Log:
Fixed a couple of incorrect superclass __init__ calls that were dropping the
attProperties value, preventing the classes from working correctly with the
Class Designer.
Diff:
Modified: branches/stable/dabo/ui/uiwx/dGrid.py
===================================================================
--- branches/stable/dabo/ui/uiwx/dGrid.py 2006-12-20 20:54:50 UTC (rev
2568)
+++ branches/stable/dabo/ui/uiwx/dGrid.py 2006-12-20 22:12:01 UTC (rev
2569)
@@ -441,7 +441,7 @@
att = self._gridColAttr = parent._defaultGridColAttr.Clone()
att.SetFont(self._getDefaultFont()._nativeFont)
- super(dColumn, self).__init__(properties, *args, **kwargs)
+ super(dColumn, self).__init__(properties, attProperties, *args,
**kwargs)
self._baseClass = dColumn
Modified: branches/stable/dabo/ui/uiwx/dImage.py
===================================================================
--- branches/stable/dabo/ui/uiwx/dImage.py 2006-12-20 20:54:50 UTC (rev
2568)
+++ branches/stable/dabo/ui/uiwx/dImage.py 2006-12-20 22:12:01 UTC (rev
2569)
@@ -28,7 +28,7 @@
dim.dImageMixin.__init__(self)
dcm.dDataControlMixin.__init__(self, preClass, parent,
properties,
- bitmap=bmp, *args, **kwargs)
+ attProperties, bitmap=bmp, *args, **kwargs)
# Display the picture, if any. This will also initialize the
# self._picture attribute
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev