X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83c8bcfde6906e141051345fdb6c6eb3ca4ec0a2..58afa32bf44fa638712bf56d46776ff7424c5282:/wxPython/demo/ProgressDialog.py

diff --git a/wxPython/demo/ProgressDialog.py b/wxPython/demo/ProgressDialog.py
index 9417209834..5e120a4600 100644
--- a/wxPython/demo/ProgressDialog.py
+++ b/wxPython/demo/ProgressDialog.py
@@ -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()
 
 #---------------------------------------------------------------------------