dabo Commit
Revision 5995
Date: 2010-09-12 11:19:19 -0700 (Sun, 12 Sep 2010)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5995
Changed:
U trunk/dabo/ui/uiwx/dTimer.py
Log:
It bothered me that the self-test for dTimer showed a Caption that said it was
testing dPanel, not dTimer, so this commit fixes that.
Diff:
Modified: trunk/dabo/ui/uiwx/dTimer.py
===================================================================
--- trunk/dabo/ui/uiwx/dTimer.py 2010-09-12 18:09:02 UTC (rev 5994)
+++ trunk/dabo/ui/uiwx/dTimer.py 2010-09-12 18:19:19 UTC (rev 5995)
@@ -100,9 +100,11 @@
DynamicEnabled = makeDynamicProperty(Enabled)
DynamicInterval = makeDynamicProperty(Interval)
-
+
class _dTimer_test(dPanel.dPanel):
def afterInit(self):
+ # Only setting this so that the test Caption is correct
+ self._baseClass = dTimer
self.fastTimer = dTimer(self, Interval=500)
self.fastTimer.bindEvent(dEvents.Hit, self.onFastTimerHit)
self.slowTimer = dTimer(Interval=2000)
_______________________________________________
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]