X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19b47f5b2ca793c32264c67ea672bf4c4c0a01f3..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/demo/Gauge.py diff --git a/wxPython/demo/Gauge.py b/wxPython/demo/Gauge.py index 35ad5f94ae..d53bcdbf33 100644 --- a/wxPython/demo/Gauge.py +++ b/wxPython/demo/Gauge.py @@ -18,6 +18,9 @@ class TestPanel(wx.Panel): self.timer = wx.Timer(self) self.timer.Start(100) + def __del__(self): + self.timer.Stop() + def TimerHandler(self, event): self.count = self.count + 1 @@ -28,7 +31,6 @@ class TestPanel(wx.Panel): self.g2.Pulse() - #---------------------------------------------------------------------- def runTest(frame, nb, log):