X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a693e6e0460b6b3c32e4b6f114a3ab7b7cd24ea..f6bcfd974ef26faf6f91a62cac09827e09463fd1:/utils/wxPython/demo/wxProgressDialog.py diff --git a/utils/wxPython/demo/wxProgressDialog.py b/utils/wxPython/demo/wxProgressDialog.py deleted file mode 100644 index 61caba204e..0000000000 --- a/utils/wxPython/demo/wxProgressDialog.py +++ /dev/null @@ -1,38 +0,0 @@ - -from wxPython.wx import * - -#--------------------------------------------------------------------------- - -def runTest(frame, nb, log): - max = 20 - dlg = wxProgressDialog("Progress dialog example", - "An informative message", - max, - frame, - wxPD_CAN_ABORT | wxPD_APP_MODAL) - - keepGoing = true - count = 0 - while keepGoing and count <= max: - count = count + 1 - wxSleep(1) - - if count == max / 2: - keepGoing = dlg.Update(count, "Half-time!") - else: - keepGoing = dlg.Update(count) - - dlg.Destroy() - - -#--------------------------------------------------------------------------- - - - - - - - - -overview = """\ -"""