#include <wx/sizer.h>
This static box may be either created independently or the sizer may create it itself as a convenience. In any case, the sizer owns the wxStaticBox control and will delete it, if it is deleted.
Public Member Functions | |
wxStaticBoxSizer (wxStaticBox *box, int orient) | |
This constructor uses an already existing static box. | |
wxStaticBoxSizer (int orient, wxWindow *parent, const wxString &label=wxEmptyString) | |
This constructor creates a new static box with the given label and parent window. | |
wxStaticBox * | GetStaticBox () const |
Returns the static box associated with the sizer. |
wxStaticBoxSizer::wxStaticBoxSizer | ( | wxStaticBox * | box, | |
int | orient | |||
) |
This constructor uses an already existing static box.
It takes the associated static box and the orientation orient, which can be either wxVERTICAL
or wxHORIZONTAL
as parameters.
wxStaticBoxSizer::wxStaticBoxSizer | ( | int | orient, | |
wxWindow * | parent, | |||
const wxString & | label = wxEmptyString | |||
) |
This constructor creates a new static box with the given label and parent window.
wxStaticBox* wxStaticBoxSizer::GetStaticBox | ( | ) | const |
Returns the static box associated with the sizer.
![]() |
[ top ] |