/**
@class wxBusyInfo
- @wxheader{busyinfo.h}
This class makes it easy to tell your user that the program is temporarily busy.
Just create a wxBusyInfo object on the stack, and within the current scope,
It works by creating a window in the constructor, and deleting it
in the destructor.
- You may also want to call wxTheApp-Yield() to refresh the window
+ You may also want to call wxTheApp->Yield() to refresh the window
periodically (in case it had been obscured by other windows, for
example) like this:
@code
wxWindowDisabler disableAll;
-
wxBusyInfo wait("Please wait, working...");
for (int i = 0; i < 100000; i++)
DoACalculation();
if ( !(i % 1000) )
- wxTheApp-Yield();
+ wxTheApp->Yield();
}
@endcode