-# 11/19/2003 - Jeff Grimmett (grimmtooth@softhome.net)
-#
-# o Updated for wx namespace
-#
import time
self.clock.SetValue(st)
+ def ShutdownDemo(self):
+ self.timer.Stop()
+ del self.timer
+
#----------------------------------------------------------------------
source, which was a bit reluctant to reveal its secrets. My appologies if
I missed anything - jmg</font>
<p>
-<code><b>wxLEDNumberCtrl</b>( parent, id=-1, pos=wx.DefaultPosition,
+<code><b>LEDNumberCtrl</b>( parent, id=-1, pos=wx.DefaultPosition,
size=wx.DefaultSize, style=LED_ALIGN_LEFT | LED_DRAW_FADED)</code>
<p>This is a control that simulates an LED clock display. It only accepts
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])