Stop the timer when the demo is shutdown

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-01-22 23:56:39 +00:00
parent f12166fcf5
commit 108db18a79

View File

@@ -35,6 +35,10 @@ class TestPanel(wx.Panel):
self.clock.SetValue(st)
def ShutdownDemo(self):
self.timer.Stop()
del self.timer
#----------------------------------------------------------------------