]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxProgressDialog.py
Removed deprecation warnings in OGL and Gizmos
[wxWidgets.git] / wxPython / demo / wxProgressDialog.py
index 61caba204e4c580941ac0e90e4fd6a2a37b29ebb..09f6c08b56253d133d3c80ffbe48449c48b34c8a 100644 (file)
@@ -11,9 +11,9 @@ def runTest(frame, nb, log):
                            frame,
                            wxPD_CAN_ABORT | wxPD_APP_MODAL)
 
-    keepGoing = true
+    keepGoing = True
     count = 0
-    while keepGoing and count <= max:
+    while keepGoing and count < max:
         count = count + 1
         wxSleep(1)