#include </home/work/projects/wx/2.9/wx/interface/wx/utils.h>
This is useful when you want to indicate to the user that the application is currently busy and cannot respond to user input.
Public Member Functions | |
| wxWindowDisabler (bool disable=true) | |
| Disables all top level windows of the applications. | |
| wxWindowDisabler (wxWindow *winToSkip) | |
| Disables all top level windows of the applications with the exception of winToSkip if it is not NULL. | |
| ~wxWindowDisabler () | |
| Reenables the windows disabled by the constructor. | |
| wxWindowDisabler::wxWindowDisabler | ( | bool | disable = true |
) |
Disables all top level windows of the applications.
If disable is false nothing is done. This can be convenient if the windows should be disabled depending on some condition.
| wxWindowDisabler::wxWindowDisabler | ( | wxWindow * | winToSkip | ) |
Disables all top level windows of the applications with the exception of winToSkip if it is not NULL.
| wxWindowDisabler::~wxWindowDisabler | ( | ) |
Reenables the windows disabled by the constructor.
|
[ top ] |