Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/BusyInfo.2.py
Robin Dunn c8c2e1d97b set svn:eol-style to native
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-22 21:02:42 +00: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