X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/95bfd958bda8955ac81277c78e5627c926154f39..05e00ac5ef410707da86d98786cbb268100a7337:/wxPython/demo/LEDNumberCtrl.py?ds=inline diff --git a/wxPython/demo/LEDNumberCtrl.py b/wxPython/demo/LEDNumberCtrl.py index 4814864d4b..0217d6910a 100644 --- a/wxPython/demo/LEDNumberCtrl.py +++ b/wxPython/demo/LEDNumberCtrl.py @@ -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:])