#include <OptBtnPanel.h>
Edit
| Options
dialog box: the button's panel.
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.
Definition at line 68 of file OptBtnPanel.h.
Public Member Functions | |
mgOptionsBtnPanel (wxWindow *parent) | |
Constructor. | |
virtual | ~mgOptionsBtnPanel () |
Destructor - it does nothing. |
|
Constructor. Constructs the three buttons and the box-sizer in which they are constrained. Definition at line 60 of file OptBtnPanel.cpp. |
[ Top ] |