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