mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-21 03:07:08 +01:00
10 lines
219 B
Python
10 lines
219 B
Python
|
|
with wx.WindowDisabler():
|
|
wait = wx.BusyInfo("Please wait, working...")
|
|
|
|
for i in range(100000):
|
|
DoACalculation()
|
|
|
|
if not (i % 1000):
|
|
wx.GetApp().Yield()
|