|
Hugintrunk
0.1
|
helper class, it disables the control/window in the constructor and automatically enables it back in destructor, create this DisableWindow class on the stack, this disables the control, when the variable goes out of scope the connected control is automatically enabled again More...
#include <wxutils.h>
Public Member Functions | |
| DisableWindow (wxWindow *window) | |
| ~DisableWindow () | |
Private Attributes | |
| wxWindow * | m_window |
helper class, it disables the control/window in the constructor and automatically enables it back in destructor, create this DisableWindow class on the stack, this disables the control, when the variable goes out of scope the connected control is automatically enabled again
| hugin_utils::DisableWindow::DisableWindow | ( | wxWindow * | window | ) |
Definition at line 246 of file wxutils.cpp.
References m_window.
| hugin_utils::DisableWindow::~DisableWindow | ( | ) |
Definition at line 252 of file wxutils.cpp.
References m_window.
|
private |
Definition at line 103 of file wxutils.h.
Referenced by DisableWindow(), and ~DisableWindow().
1.8.5