Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.BusyInfo.2.py
2016-05-18 16:38:18 -07:00

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