From bbfc7289d6d2efe7ed31329f5dab8ce99a30e9d7 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 29 Sep 2004 21:51:24 +0000 Subject: [PATCH] Stop the timer before closing the demo git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/demo/Ticker.py | 5 +++++ 1 file changed, 5 insertions(+) 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): -- 2.45.2