X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/486afba9a43f8389a6d5715c1f98739b998a3d0a..418ab1e742d1da28f69f0871adc6df5f697bc7c0:/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):