projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert wxFlexGridSizer constr. change
[wxWidgets.git]
/
interface
/
wx
/
busyinfo.h
diff --git
a/interface/wx/busyinfo.h
b/interface/wx/busyinfo.h
index 9b3b901583ea8393c3f72393bfec9895bf8b2d30..3600c987addb7b63742924757c27060370e25441 100644
(file)
--- 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.
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;
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++)
wxBusyInfo wait("Please wait, working...");
for (int i = 0; i < 100000; i++)
@@
-41,7
+40,7
@@
DoACalculation();
if ( !(i % 1000) )
DoACalculation();
if ( !(i % 1000) )
- wxTheApp-Yield();
+ wxTheApp-
>
Yield();
}
@endcode
}
@endcode
@@
-49,6
+48,9
@@
wxApp::Yield for more details). The simplest way to do it is to use
wxWindowDisabler class as illustrated in the above example.
wxApp::Yield for more details). The simplest way to do it is to use
wxWindowDisabler class as illustrated in the above example.
+ Note that a wxBusyInfo is always built with the @c wxSTAY_ON_TOP window style
+ (see wxFrame window styles for more info).
+
@library{wxcore}
@category{cmndlg}
*/
@library{wxcore}
@category{cmndlg}
*/