wx.ProgressDialog.Update now returns two values.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-05-04 02:15:48 +00:00
parent 27eac64cf9
commit 8ec09aacc6
2 changed files with 14 additions and 6 deletions

View File

@@ -43,10 +43,11 @@ class TestPanel(wx.Panel):
wx.MilliSleep(250)
if count >= max / 2:
keepGoing = dlg.Update(count, "Half-time!")
(keepGoing, skip) = dlg.Update(count, "Half-time!")
else:
keepGoing = dlg.Update(count)
(keepGoing, skip) = dlg.Update(count)
dlg.Destroy()
#---------------------------------------------------------------------------