wxIScan
wxOptionStaticLine Class Reference

The static line pseudo option for an options dialog. More...

#include <wxoptionsdialog.h>

Inheritance diagram for wxOptionStaticLine:
wxOptionBase

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

wxOptionStaticLine::wxOptionStaticLine ( )

Default constructor.

Definition at line 30 of file wxoptionsdialog.cpp.

{
}

Member Function Documentation

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.


Member Data Documentation

wxStaticLine* wxOptionStaticLine::m_poStaticLine [protected]

Definition at line 77 of file wxoptionsdialog.h.

Referenced by AddToSizer(), and Setup().


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