X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/486afba9a43f8389a6d5715c1f98739b998a3d0a..213e64e9800b0a3a7225268a3d69063dfc01d4a1:/wxPython/demo/GetMouseState.py?ds=inline 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):