wxStaticBoxSizer Class Reference
[Window Layout]

#include <wx/sizer.h>

Inheritance diagram for wxStaticBoxSizer:

Inheritance graph
[legend]

Detailed Description

wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static box around the sizer.

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.

Library:  wxCore

Category:  Window Layout

See also:
wxSizer, wxStaticBox, wxBoxSizer, Sizers Overview

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.
wxStaticBoxGetStaticBox () const
 Returns the static box associated with the sizer.

List of all members.


Constructor & Destructor Documentation

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.


Member Function Documentation

wxStaticBox* wxStaticBoxSizer::GetStaticBox (  )  const

Returns the static box associated with the sizer.



wxWidgets logo

[ top ]