dabo Commit
Revision 2474
Date: 2006-11-17 23:57:58 -0800 (Fri, 17 Nov 2006)
Author: paul
Changed:
U branches/stable/dabo/ui/uiwx/dPemMixin.py
U trunk/dabo/ui/uiwx/dPemMixin.py
Log:
We were calling the wx class __init__ twice. Fixed.
Diff:
Modified: branches/stable/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- branches/stable/dabo/ui/uiwx/dPemMixin.py 2006-11-17 23:27:34 UTC (rev
2473)
+++ branches/stable/dabo/ui/uiwx/dPemMixin.py 2006-11-18 07:57:58 UTC (rev
2474)
@@ -174,7 +174,7 @@
# _afterInit() will call the afterInit() user hook
self._afterInit()
- super(dPemMixin, self).__init__()
+ dPemMixinBase.__init__(self) ## don't use super(), or wx init
called 2x.
if dabo.fastNameSet:
# Event AutoBinding is set to happen when the Name
property changes, but
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py 2006-11-17 23:27:34 UTC (rev 2473)
+++ trunk/dabo/ui/uiwx/dPemMixin.py 2006-11-18 07:57:58 UTC (rev 2474)
@@ -174,7 +174,7 @@
# _afterInit() will call the afterInit() user hook
self._afterInit()
- super(dPemMixin, self).__init__()
+ dPemMixinBase.__init__(self) ## don't use super(), or wx init
called 2x.
if dabo.fastNameSet:
# Event AutoBinding is set to happen when the Name
property changes, but
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev