]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/busycurs.tex
Doc mods, sash window bug
[wxWidgets.git] / docs / latex / wx / busycurs.tex
... / ...
CommitLineData
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
23\wxheading{See also}
24
25\helpref{wxBeginBusyCursor}{wxbeginbusycursor}, \helpref{wxEndBusyCursor}{wxendbusycursor}
26
27\latexignore{\rtfignore{\wxheading{Members}}}
28
29\membersection{wxBusyCursor::wxBusyCursor}
30
31\func{}{wxBusyCursor}{\param{wxCursor*}{ cursor = wxHOURGLASS\_CURSOR}}
32
33Constructs a busy cursor object, calling \helpref{wxBeginBusyCursor}{wxbeginbusycursor}.
34
35\membersection{wxBusyCursor::\destruct{wxBusyCursor}}
36
37\func{}{\destruct{wxBusyCursor}}{\void}
38
39Destroys the busy cursor object, calling \helpref{wxEndBusyCursor}{wxendbusycursor}.
40