X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..398e314854788981104ad57751e914bcf9681930:/interface/wx/busyinfo.h diff --git a/interface/wx/busyinfo.h b/interface/wx/busyinfo.h index 9b3b901583..287f8371e6 100644 --- a/interface/wx/busyinfo.h +++ b/interface/wx/busyinfo.h @@ -27,13 +27,12 @@ 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++) @@ -41,7 +40,7 @@ DoACalculation(); if ( !(i % 1000) ) - wxTheApp-Yield(); + wxTheApp->Yield(); } @endcode