From: Robin Dunn Date: Wed, 29 Sep 2004 21:51:24 +0000 (+0000) Subject: Stop the timer before closing the demo X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bbfc7289d6d2efe7ed31329f5dab8ce99a30e9d7?ds=inline Stop the timer before closing the demo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/Ticker.py b/wxPython/demo/Ticker.py index 1346996b5d..220b051f44 100644 --- a/wxPython/demo/Ticker.py +++ b/wxPython/demo/Ticker.py @@ -123,6 +123,11 @@ class TestPanel(wx.Panel): def ChangePPF(self, evt): self.ticker.SetPPF(evt.GetPosition()) + + def ShutdownDemo(self): + self.ticker.Stop() + + #---------------------------------------------------------------------- def runTest(frame, nb, log):