]> git.saurik.com Git - wxWidgets.git/commitdiff
Stop the timer before closing the demo
authorRobin Dunn <robin@alldunn.com>
Wed, 29 Sep 2004 21:51:24 +0000 (21:51 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 29 Sep 2004 21:51:24 +0000 (21:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/Ticker.py

index 1346996b5df40f80130b62a13b4c66e24cd2e639..220b051f44a4a9ab184f48b2b3457109f55a6ea3 100644 (file)
@@ -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):