Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
hugin_utils::DisableWindow Class Reference

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
 

Detailed Description

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

Definition at line 94 of file wxutils.h.

Constructor & Destructor Documentation

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.

Member Data Documentation

wxWindow* hugin_utils::DisableWindow::m_window
private

Definition at line 100 of file wxutils.h.

Referenced by DisableWindow(), and ~DisableWindow().


The documentation for this class was generated from the following files: