wxIScan
wxOptionBase Class Reference

The (abstract) option for an options dialog. More...

#include <wxoptionsdialog.h>

Inheritance diagram for wxOptionBase:
wxOptionCheckBox wxOptionComboBox wxOptionStaticLine wxOptionTextBox

List of all members.

Public Member Functions

 wxOptionBase ()
 Default constructor.
virtual ~wxOptionBase ()
 Virtual destructor.
virtual bool AddToSizer (wxBoxSizer *poSizer)=0
 ...
virtual void Setup (wxWindow *poWindow, int nId)=0
 ...
virtual void StoreValue ()=0
 In implementation: Store the value in the connected variables.

Detailed Description

The (abstract) option for an options dialog.

This class represents an (abstract) option (more or less an inteface) used by inheriting classes in an options dialog.

Definition at line 39 of file wxoptionsdialog.h.


Constructor & Destructor Documentation

wxOptionBase::wxOptionBase ( ) [inline]

Default constructor.

Definition at line 43 of file wxoptionsdialog.h.

{}
virtual wxOptionBase::~wxOptionBase ( ) [inline, virtual]

Virtual destructor.

Definition at line 46 of file wxoptionsdialog.h.

{};

Member Function Documentation

virtual bool wxOptionBase::AddToSizer ( wxBoxSizer *  poSizer) [pure virtual]
virtual void wxOptionBase::Setup ( wxWindow *  poWindow,
int  nId 
) [pure virtual]
virtual void wxOptionBase::StoreValue ( ) [pure virtual]

In implementation: Store the value in the connected variables.

Implemented in wxOptionStaticLine, wxOptionCheckBox, wxOptionTextBox, and wxOptionComboBox.

Referenced by wxOptionsDialog::OnOk().


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