mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 21:10:06 +01:00
12 lines
295 B
Python
12 lines
295 B
Python
|
|
disableAll = wx.WindowDisabler()
|
|
wait = wx.BusyInfo("Please wait, working...")
|
|
|
|
for i in xrange(10000):
|
|
DoACalculation()
|
|
|
|
if i % 1000 == 0:
|
|
wx.GetApp().Yield()
|
|
|
|
del wait
|