contents up previous next

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.

derived from

none

include files

<wx/utils.h>

see also

wxbusycursor

members

wxwindowdisabler::wxwindowdisabler
wxwindowdisabler::~wxwindowdisabler


wxwindowdisabler::wxwindowdisabler

wxwindowdisabler(wxwindow *wintoskip = null)

disables all top level windows of the applications with the exception of wintoskip if it is not null.


wxwindowdisabler::~wxwindowdisabler

~wxwindowdisabler()

reenables back the windows disabled by the constructor.