X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..27bb69ac80420cf4681182ac9b75260048b77f90:/docs/latex/wx/sbsizer.tex?ds=inline diff --git a/docs/latex/wx/sbsizer.tex b/docs/latex/wx/sbsizer.tex index 3cc226a5b4..6394efaffc 100644 --- a/docs/latex/wx/sbsizer.tex +++ b/docs/latex/wx/sbsizer.tex @@ -1,11 +1,8 @@ \section{\class{wxStaticBoxSizer}}\label{wxstaticboxsizer} wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static -box around the sizer. Note that this static box has to be created -separately. - -See also \helpref{wxSizer}{wxsizer}, \helpref{wxStaticBox}{wxstaticbox} and - \helpref{wxBoxSizer}{wxboxsizer}. +box around the sizer. This static box has to be created independently or the +sizer may create it itself as a convenience. \wxheading{Derived from} @@ -13,14 +10,29 @@ See also \helpref{wxSizer}{wxsizer}, \helpref{wxStaticBox}{wxstaticbox} and \helpref{wxSizer}{wxsizer}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + +\wxheading{See also} + +\helpref{wxSizer}{wxsizer}, \helpref{wxStaticBox}{wxstaticbox}, \helpref{wxBoxSizer}{wxboxsizer}, \helpref{Sizer overview}{sizeroverview} + \latexignore{\rtfignore{\wxheading{Members}}} + \membersection{wxStaticBoxSizer::wxStaticBoxSizer}\label{wxstaticboxsizerwxstaticboxsizer} \func{}{wxStaticBoxSizer}{\param{wxStaticBox* }{box}, \param{int }{orient}} -Constructor. It takes an associated static box and the orientation {\it orient} -as parameters - orient can be either of wxVERTICAL or wxHORIZONTAL. +\func{}{wxStaticBoxSizer}{\param{int }{orient}, \param{wxWindow }{*parent}, \param{const wxString\& }{label = wxEmptyString}} + +The first constructor uses an already existing static box. It takes the +associated static box and the orientation \arg{orient}, which can be either +\texttt{wxVERTICAL} or \texttt{wxHORIZONTAL} as parameters. + +The second one creates a new static box with the given label and parent window. + \membersection{wxStaticBoxSizer::GetStaticBox}\label{wxstaticboxsizergetstaticbox}