]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/busyinfo.tex
Added missing files to listing
[wxWidgets.git] / docs / latex / wx / busyinfo.tex
1 \section{\class{wxBusyInfo}}\label{wxbusyinfo}
2
3 This class makes it easy to tell your user that the program is temporarily busy.
4 Just create a wxBusyInfo object on the stack, and within the current scope,
5 a message window will be shown.
6
7 For 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
16 It works by creating a window in the constructor,
17 and deleting it in the destructor.
18
19 \wxheading{Derived from}
20
21 None
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
33 Constructs a busy info object, displays {\it msg}.
34