]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/sbsizer.tex
define _HPUX_SOURCE under HP-UX, otherwise many things are not defined in standard...
[wxWidgets.git] / docs / latex / wx / sbsizer.tex
1 \section{\class{wxStaticBoxSizer}}\label{wxstaticboxsizer}
2
3 wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static
4 box around the sizer. This static box has to be created independently or the
5 sizer may create it itself as a convenience.
6
7 \wxheading{Derived from}
8
9 \helpref{wxBoxSizer}{wxboxsizer}\\
10 \helpref{wxSizer}{wxsizer}\\
11 \helpref{wxObject}{wxobject}
12
13 \wxheading{Include files}
14
15 <wx/sizer.h>
16
17 \wxheading{See also}
18
19 \helpref{wxSizer}{wxsizer}, \helpref{wxStaticBox}{wxstaticbox}, \helpref{wxBoxSizer}{wxboxsizer}, \helpref{Sizer overview}{sizeroverview}
20
21 \latexignore{\rtfignore{\wxheading{Members}}}
22
23
24 \membersection{wxStaticBoxSizer::wxStaticBoxSizer}\label{wxstaticboxsizerwxstaticboxsizer}
25
26 \func{}{wxStaticBoxSizer}{\param{wxStaticBox* }{box}, \param{int }{orient}}
27
28 \func{}{wxStaticBoxSizer}{\param{int }{orient}, \param{wxWindow }{*parent}, \param{const wxString\& }{label = wxEmptyString}}
29
30 The first constructor uses an already existing static box. It takes the
31 associated static box and the orientation \arg{orient}, which can be either
32 \texttt{wxVERTICAL} or \texttt{wxHORIZONTAL} as parameters.
33
34 The second one creates a new static box with the given label and parent window.
35
36
37 \membersection{wxStaticBoxSizer::GetStaticBox}\label{wxstaticboxsizergetstaticbox}
38
39 \func{wxStaticBox*}{GetStaticBox}{\void}
40
41 Returns the static box associated with the sizer.
42