dabo Commit
Revision 2194
Date: 2006-06-01 17:01:23 -0700 (Thu, 01 Jun 2006)
Author: ed
Changed:
U trunk/dabo/ui/uiwx/dEditor.py
Log:
The class wasn't passing *args and **kwargs to the super of the control mixin,
which was preventing properties from being passed in the constructor.
Diff:
Modified: trunk/dabo/ui/uiwx/dEditor.py
===================================================================
--- trunk/dabo/ui/uiwx/dEditor.py 2006-06-01 23:10:51 UTC (rev 2193)
+++ trunk/dabo/ui/uiwx/dEditor.py 2006-06-02 00:01:23 UTC (rev 2194)
@@ -95,11 +95,10 @@
self._syntaxColoring = True
self._language = "Python"
self._keyWordsSet = False
-
-
+
stc.StyledTextCtrl.__init__(self, parent, -1,
style = wx.NO_BORDER)
- cm.dControlMixin.__init__(self, name,
_explicitName=_explicitName)
+ cm.dControlMixin.__init__(self, name,
_explicitName=_explicitName, *args, **kwargs)
self._afterInit()
self._newFileName = _("< New File >")
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev