]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/busyinfo.tex
correction for Mac OS compilation
[wxWidgets.git] / docs / latex / wx / busyinfo.tex
CommitLineData
704a4b75
VS
1\section{\class{wxBusyInfo}}\label{wxbusyinfo}
2
3This class makes it easy to tell your user that the program is temporarily busy.
4Just create a wxBusyInfo object on the stack, and within the current scope,
5a message window will be shown.
6
7For example:
8
9\begin{verbatim}
10 wxBusyInfo wait("Please wait, working...");
11
12 for (int i = 0; i < 100000; i++)
13 DoACalculation();
14\end{verbatim}
15
16It works by creating a window in the constructor,
17and deleting it in the destructor.
18
19\wxheading{Derived from}
20
21None
22
23\wxheading{Include files}
24
25<wx/busyinfo.h>
26
27\latexignore{\rtfignore{\wxheading{Members}}}
28
29\membersection{wxBusyInfo::wxBusyInfo}
30
31\func{}{wxBusyInfo}{\param{const wxString\&}{ msg}}
32
22d6efa8 33Constructs a busy info object, displays {\it msg}.
704a4b75 34