X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..4a93ea29b583718ec19613d6af98ff1ce9cc0ea3:/wxPython/demo/wxProgressDialog.py

diff --git a/wxPython/demo/wxProgressDialog.py b/wxPython/demo/wxProgressDialog.py
index 61caba204e..ec7bff1bd3 100644
--- a/wxPython/demo/wxProgressDialog.py
+++ b/wxPython/demo/wxProgressDialog.py
@@ -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])])