]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxProgressDialog.py
regenerated after adding DEBUG_ options
[wxWidgets.git] / wxPython / demo / wxProgressDialog.py
index 61caba204e4c580941ac0e90e4fd6a2a37b29ebb..ec7bff1bd32d346b4d9f4ced74922d711b7b47fd 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)
 
@@ -30,9 +30,12 @@ def runTest(frame, nb, log):
 
 
 
+overview = """\
+"""
 
 
 
-
-overview = """\
-"""
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])