cd6ce4a90c
reliable), now works in both sync and async modes 2. wxSafeYieldBug() corrected, wxWindowDisabler which is now used in it added and documented 3. exec sample updated to illustrate capturing the subprocess output 4. wxStreamBase::IsOk() added 5. wxInputStream::Eof() added and non-blocking Eof() implementation in wxPipeInputStream used by wxExecute git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
32 lines
878 B
TeX
32 lines
878 B
TeX
\section{\class{wxWindowDisabler}}\label{wxwindowdisabler}
|
|
|
|
This class disables all windows of the application (may be with the exception
|
|
of one of them) in its constructor and enables them back in its destructor.
|
|
This comes in handy when you want to indicate to the user that the application
|
|
is currently busy and cannot respond to user input.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
None
|
|
|
|
\wxheading{Include files}
|
|
|
|
<wx/utils.h>
|
|
|
|
\wxheading{See also}
|
|
|
|
\helpref{wxBusyCursor}{wxbusycursor}
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
\membersection{wxWindowDisabler::wxWindowDisabler}
|
|
|
|
\func{}{wxWindowDisabler}{\param{wxWindow *}{winToSkip = NULL}}
|
|
|
|
Disables all top level windows of the applications with the exception of
|
|
{\it winToSkip} if it is not {\tt NULL}.
|
|
|
|
\membersection{wxWindowDisabler::\destruct{wxWindowDisabler}}
|
|
|
|
Reenables back the windows disabled by the constructor.
|