Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

mgOptionsBtnPanel Class Reference

#include <OptBtnPanel.h>

List of all members.


Detailed Description

The Edit | Options dialog box: the button's panel.

Author:
L. Cattani
Date:
01-10-2003
This class is very simple and consist of the constructor and the destructor only (the dtor does nothing at all).

The ctor creates the tree buttons: OK, Cancel and Apply and a wxBoxSizer object used to align the tree buttons correctly when the dialog box is resized. No event handler is defined for this class: button clicked events are catched in the parent window, that is in the dialog dox itself.

There is no need to create a specialized wxPanel-derived class for the button panel: all code could be inserted in the ctor of the dialog or, in a function (say, CreateBtnPanel). It is unlikely that this class should be modified in the future.

See also:
mgOptDlg::OnOkButton mgOptDlg::OnCancelButton mgOptDlg::OnApplyButton

Definition at line 68 of file OptBtnPanel.h.

Public Member Functions

 mgOptionsBtnPanel (wxWindow *parent)
 Constructor.
virtual ~mgOptionsBtnPanel ()
 Destructor - it does nothing.


Constructor & Destructor Documentation

mgOptionsBtnPanel::mgOptionsBtnPanel wxWindow *  parent  ) 
 

Constructor.

Constructs the three buttons and the box-sizer in which they are constrained.

Definition at line 60 of file OptBtnPanel.cpp.


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

Documentation generated with Doxygen on Sun Feb 6 17:19:27 2005
Visit MathStudio home page for more info

[ Top ]