dabo Commit
Revision 7078
Date: 2012-02-06 11:31:45 -0800 (Mon, 06 Feb 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7078

Changed:
U   trunk/dabo/ui/uiwx/dTimer.py

Log:
Remove deprecation warnings; make dTimer exist in regular parent/child
relationship like it did before my changes last week.


Diff:
Modified: trunk/dabo/ui/uiwx/dTimer.py
===================================================================
--- trunk/dabo/ui/uiwx/dTimer.py        2012-02-03 21:25:36 UTC (rev 7077)
+++ trunk/dabo/ui/uiwx/dTimer.py        2012-02-06 19:31:45 UTC (rev 7078)
@@ -6,17 +6,16 @@
 
 import dabo.dEvents as dEvents
 from dabo.dLocalize import _
-from dabo.ui.dControlMixinBase import dControlMixinBase as DCMB
+from dPemMixin import dPemMixin as PM
 from dabo.ui import makeDynamicProperty
 import dPanel
 
 
-class dTimer(DCMB):
+class dTimer(PM, wx.Control):
        """Creates a timer, for causing something to happen at regular 
intervals."""
        def __init__(self, parent=None, properties=None, *args, **kwargs):
                self._baseClass = dTimer
-               DCMB.__init__(self, parent=None,
-                               properties=properties, *args, **kwargs)
+               PM.__init__(self, preClass=wx.Control, parent=parent, 
properties=properties, *args, **kwargs)
 
 
        def isRunning(self):



_______________________________________________
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]

Reply via email to