![]() |
wxIScan
|
The static line pseudo option for an options dialog. More...
#include <wxoptionsdialog.h>
Public Member Functions | |
wxOptionStaticLine () | |
Default constructor. | |
virtual bool | AddToSizer (wxBoxSizer *poSizer) |
... | |
virtual void | Setup (wxWindow *poWindow, int nId) |
... (Nothing to do.) | |
virtual void | StoreValue () |
Store the value in the connected variables. (Nothing to do.) | |
Protected Attributes | |
wxStaticLine * | m_poStaticLine |
The static line pseudo option for an options dialog.
This class represents a static line object used in an option dialog.
Definition at line 63 of file wxoptionsdialog.h.
wxOptionStaticLine::wxOptionStaticLine | ( | ) |
bool wxOptionStaticLine::AddToSizer | ( | wxBoxSizer * | poSizer | ) | [virtual] |
...
Implements wxOptionBase.
Definition at line 44 of file wxoptionsdialog.cpp.
References m_poStaticLine.
{ return m_poStaticLine ? (bool)poSizer->Add( m_poStaticLine, 0, wxGROW | wxLEFT | wxRIGHT, 1 ) : false; }
void wxOptionStaticLine::Setup | ( | wxWindow * | poWindow, |
int | nId | ||
) | [virtual] |
... (Nothing to do.)
Implements wxOptionBase.
Definition at line 34 of file wxoptionsdialog.cpp.
References m_poStaticLine.
{ m_poStaticLine= new wxStaticLine( poWindow, nId ); if( !m_poStaticLine ) { wxLogError( _( "Cannot create static line pseudo option." ) ); return; } }
virtual void wxOptionStaticLine::StoreValue | ( | ) | [inline, virtual] |
Store the value in the connected variables. (Nothing to do.)
Implements wxOptionBase.
Definition at line 73 of file wxoptionsdialog.h.
wxStaticLine* wxOptionStaticLine::m_poStaticLine [protected] |
Definition at line 77 of file wxoptionsdialog.h.
Referenced by AddToSizer(), and Setup().