]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/busycurs.tex
fix LaTeX error (escape underscores); don't abuse bold face
[wxWidgets.git] / docs / latex / wx / busycurs.tex
CommitLineData
e2a6f233
JS
1\section{\class{wxBusyCursor}}\label{wxbusycursor}
2
3This class makes it easy to tell your user that the program is temporarily busy.
4Just create a wxBusyCursor object on the stack, and within the current scope,
5the hourglass will be shown.
6
7For example:
8
9\begin{verbatim}
10 wxBusyCursor wait;
11
12 for (int i = 0; i < 100000; i++)
13 DoACalculation();
14\end{verbatim}
15
16It works by calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor} in the constructor,
17and \helpref{wxEndBusyCursor}{wxendbusycursor} in the destructor.
18
19\wxheading{Derived from}
20
21None
22
954b8ae6
JS
23\wxheading{Include files}
24
25<wx/utils.h>
26
a7af285d
VZ
27\wxheading{Library}
28
29\helpref{wxCore}{librarieslist}
30
e2a6f233
JS
31\wxheading{See also}
32
cd6ce4a9
VZ
33\helpref{wxBeginBusyCursor}{wxbeginbusycursor},\rtfsp
34\helpref{wxEndBusyCursor}{wxendbusycursor},\rtfsp
35\helpref{wxWindowDisabler}{wxwindowdisabler}
e2a6f233
JS
36
37\latexignore{\rtfignore{\wxheading{Members}}}
38
f510b7b2 39\membersection{wxBusyCursor::wxBusyCursor}\label{wxbusycursorctor}
e2a6f233
JS
40
41\func{}{wxBusyCursor}{\param{wxCursor*}{ cursor = wxHOURGLASS\_CURSOR}}
42
43Constructs a busy cursor object, calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor}.
44
f510b7b2 45\membersection{wxBusyCursor::\destruct{wxBusyCursor}}\label{wxbusycursordtor}
e2a6f233
JS
46
47\func{}{\destruct{wxBusyCursor}}{\void}
48
49Destroys the busy cursor object, calling \helpref{wxEndBusyCursor}{wxendbusycursor}.
50