]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/LEDNumberCtrl.py
update from herbert breunung
[wxWidgets.git] / wxPython / demo / LEDNumberCtrl.py
index 4814864d4b0e293fa6f4d38e1e546dd5e40dfbd6..0217d6910aef229656550e552b7092ec57e235a5 100644 (file)
@@ -35,6 +35,10 @@ class TestPanel(wx.Panel):
         self.clock.SetValue(st)
 
 
+    def ShutdownDemo(self):
+        self.timer.Stop()
+        del self.timer
+
 
 #----------------------------------------------------------------------
 
@@ -108,5 +112,5 @@ numeric input.
 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:])