]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/sbsizer.tex
More docs.
[wxWidgets.git] / docs / latex / wx / sbsizer.tex
CommitLineData
8fe05782
VZ
1\section{\class{wxStaticBoxSizer}}\label{wxstaticboxsizer}
2
4130b487 3wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static
e978011a
VZ
4box around the sizer. This static box may be either created independently or
5the sizer may create it itself as a convenience. In any case, the sizer owns
6the \helpref{wxStaticBox}{wxstaticbox} control and will delete it if it is
7deleted.
8fe05782 8
8fe05782
VZ
9\wxheading{Derived from}
10
9c884972
RR
11\helpref{wxBoxSizer}{wxboxsizer}\\
12\helpref{wxSizer}{wxsizer}\\
13\helpref{wxObject}{wxobject}
8fe05782 14
0bf97466
RN
15\wxheading{Include files}
16
17<wx/sizer.h>
18
1c0c339c
JS
19\wxheading{See also}
20
21\helpref{wxSizer}{wxsizer}, \helpref{wxStaticBox}{wxstaticbox}, \helpref{wxBoxSizer}{wxboxsizer}, \helpref{Sizer overview}{sizeroverview}
22
8fe05782
VZ
23\latexignore{\rtfignore{\wxheading{Members}}}
24
6c1635b5 25
8fe05782
VZ
26\membersection{wxStaticBoxSizer::wxStaticBoxSizer}\label{wxstaticboxsizerwxstaticboxsizer}
27
28\func{}{wxStaticBoxSizer}{\param{wxStaticBox* }{box}, \param{int }{orient}}
29
732e46f5 30\func{}{wxStaticBoxSizer}{\param{int }{orient}, \param{wxWindow }{*parent}, \param{const wxString\& }{label = wxEmptyString}}
6c1635b5
VZ
31
32The first constructor uses an already existing static box. It takes the
33associated static box and the orientation \arg{orient}, which can be either
34\texttt{wxVERTICAL} or \texttt{wxHORIZONTAL} as parameters.
35
36The second one creates a new static box with the given label and parent window.
37
8fe05782
VZ
38
39\membersection{wxStaticBoxSizer::GetStaticBox}\label{wxstaticboxsizergetstaticbox}
40
41\func{wxStaticBox*}{GetStaticBox}{\void}
42
7e9a386e
JS
43Returns the static box associated with the sizer.
44