X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/486afba9a43f8389a6d5715c1f98739b998a3d0a..b4eecebd423df0c6efe86d7658cd3df818d67ed8:/wxPython/demo/GetMouseState.py diff --git a/wxPython/demo/GetMouseState.py b/wxPython/demo/GetMouseState.py index c010c073dc..f51a8741ff 100644 --- a/wxPython/demo/GetMouseState.py +++ b/wxPython/demo/GetMouseState.py @@ -110,6 +110,10 @@ class TestPanel(wx.Panel): self.cmd.SetLabel( str(ms.cmdDown) ) + def ShutdownDemo(self): + self.timer.Stop() + del self.timer + #---------------------------------------------------------------------- def runTest(frame, nb, log):