]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/wnddisbl.tex
wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
[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
f6bcfd97 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
33\membersection{wxWindowDisabler::wxWindowDisabler}
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
40\membersection{wxWindowDisabler::\destruct{wxWindowDisabler}}
41
21977bac
VZ
42\func{}{\destruct{wxWindowDisabler}}{\void}
43
cd6ce4a9 44Reenables back the windows disabled by the constructor.
66f55ec6 45