X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c8849722a71ee7139e035bca5fdb2ae7b0af570..e31f4da5f0e888e3bae947061be02a427c570372:/docs/latex/wx/sbsizer.tex diff --git a/docs/latex/wx/sbsizer.tex b/docs/latex/wx/sbsizer.tex index ef37faf75c..0e552ebec6 100644 --- a/docs/latex/wx/sbsizer.tex +++ b/docs/latex/wx/sbsizer.tex @@ -1,10 +1,10 @@ \section{\class{wxStaticBoxSizer}}\label{wxstaticboxsizer} -wxStaticBoxSizer is a sizer derived from wxBoxSizer. It is useful for -layouts which make use of static boxes in connection with sizers. - -See also \helpref{wxSizer}{wxsizer}, \helpref{wxStaticBox}{wxstaticbox} and - \helpref{wxBoxSizer}{wxboxsizer}. +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 \helpref{wxStaticBox}{wxstaticbox} control and will delete it if it is +deleted. \wxheading{Derived from} @@ -12,17 +12,33 @@ 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} \func{wxStaticBox*}{GetStaticBox}{\void} -Returns the static box associated with the sizer. \ No newline at end of file +Returns the static box associated with the sizer. +