]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/ProgressDialog.py
add support for wxCONTROL_ISDEFAULT to wxRendererMSW::DrawPushButton() (modified...
[wxWidgets.git] / wxPython / demo / ProgressDialog.py
index 9417209834d71da4d720030a2ac0f3641c3e3cc3..5e120a460027eb9420e90c6fd697da24bf488c8f 100644 (file)
@@ -43,10 +43,11 @@ class TestPanel(wx.Panel):
             wx.MilliSleep(250)
 
             if count >= max / 2:
-                keepGoing = dlg.Update(count, "Half-time!")
+                (keepGoing, skip) = dlg.Update(count, "Half-time!")
             else:
-                keepGoing = dlg.Update(count)
+                (keepGoing, skip) = dlg.Update(count)
 
+                
         dlg.Destroy()
 
 #---------------------------------------------------------------------------