mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 05:20:08 +01:00
10 lines
213 B
Python
10 lines
213 B
Python
|
|
progdlg = wx.ProgressDialog(...)
|
|
for i in range(100):
|
|
if not progdlg.Update(i):
|
|
# Cancelled by user.
|
|
break
|
|
|
|
... do something time-consuming (but not too much) ...
|
|
|