]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Gauge.py
changed wxGLContext::SetColour() argument from wxChar* to wxString
[wxWidgets.git] / wxPython / demo / Gauge.py
index 35ad5f94ae9980aa7db73d7beb0009776ae0c313..d53bcdbf3324ded5df150c42892786aa3a1a2099 100644 (file)
@@ -18,6 +18,9 @@ class TestPanel(wx.Panel):
         self.timer = wx.Timer(self)
         self.timer.Start(100)
 
+    def __del__(self):
+        self.timer.Stop()
+
     def TimerHandler(self, event):
         self.count = self.count + 1
 
@@ -28,7 +31,6 @@ class TestPanel(wx.Panel):
         self.g2.Pulse()
     
 
-
 #----------------------------------------------------------------------
 
 def runTest(frame, nb, log):