]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/wnddisbl.tex
MF_BYCOMMAND is zero so don't try to test it
[wxWidgets.git] / docs / latex / wx / wnddisbl.tex
CommitLineData
d7da9756
VZ
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: wnddsbl.tex
3%% Purpose: wxWindowDisabler class documentation
4%% Author: Vadim Zeitlin
5%% Modified by:
6%% Created: 03.03.00
7%% RCS-ID: $Id$
8%% Copyright: (c) Vadim Zeitlin
8795498c 9%% License: wxWindows license
d7da9756
VZ
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
cd6ce4a9
VZ
12\section{\class{wxWindowDisabler}}\label{wxwindowdisabler}
13
14This class disables all windows of the application (may be with the exception
15of one of them) in its constructor and enables them back in its destructor.
16This comes in handy when you want to indicate to the user that the application
17is currently busy and cannot respond to user input.
18
19\wxheading{Derived from}
20
21None
22
23\wxheading{Include files}
24
25<wx/utils.h>
26
27\wxheading{See also}
28
29\helpref{wxBusyCursor}{wxbusycursor}
30
31\latexignore{\rtfignore{\wxheading{Members}}}
32
6d06e061 33\membersection{wxWindowDisabler::wxWindowDisabler}\label{wxwindowdisablerctor}
cd6ce4a9
VZ
34
35\func{}{wxWindowDisabler}{\param{wxWindow *}{winToSkip = NULL}}
36
37Disables all top level windows of the applications with the exception of
38{\it winToSkip} if it is not {\tt NULL}.
39
6d06e061 40\membersection{wxWindowDisabler::\destruct{wxWindowDisabler}}\label{wxwindowdisablerdtor}
cd6ce4a9 41
21977bac
VZ
42\func{}{\destruct{wxWindowDisabler}}{\void}
43
cd6ce4a9 44Reenables back the windows disabled by the constructor.
66f55ec6 45