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:
@@ -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()
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user