]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/tests/test_idle.py
move wxPython to new trunk
[wxWidgets.git] / wxPython / tests / test_idle.py
diff --git a/wxPython/tests/test_idle.py b/wxPython/tests/test_idle.py
deleted file mode 100644 (file)
index 6bbe67d..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-
-import wx
-
-class TestPanel(wx.Panel):
-    def __init__(self, parent):
-        wx.Panel.__init__(self, parent)
-        self.gauge = wx.Gauge(self, range=100, pos=(20,20), size=(100,-1))
-        self.Bind(wx.EVT_IDLE, self.OnIdle)
-        self.count = 1
-        self.skipNext = False
-        
-    def OnIdle(self, evt):
-        if self.skipNext:
-            self.skipNext = False
-            return
-        self.skipNext = True
-        
-        print "OnIdle:", self.count
-        #self.gauge.SetValue(self.count)
-        self.count += 1
-        if self.count >= 100:
-            self.count = 1
-
-
-
-app = wx.App(False)
-frm = wx.Frame(None)
-pnl = TestPanel(frm)
-frm.Show()
-app.MainLoop()