projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added taborder sample
[wxWidgets.git]
/
wxPython
/
demo
/
ProgressDialog.py
diff --git
a/wxPython/demo/ProgressDialog.py
b/wxPython/demo/ProgressDialog.py
index 9417209834d71da4d720030a2ac0f3641c3e3cc3..5e120a460027eb9420e90c6fd697da24bf488c8f 100644
(file)
--- 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:
wx.MilliSleep(250)
if count >= max / 2:
-
keepGoing
= dlg.Update(count, "Half-time!")
+
(keepGoing, skip)
= dlg.Update(count, "Half-time!")
else:
else:
-
keepGoing
= dlg.Update(count)
+
(keepGoing, skip)
= dlg.Update(count)
+
dlg.Destroy()
#---------------------------------------------------------------------------
dlg.Destroy()
#---------------------------------------------------------------------------