X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/515da557f1dcd6ec579bf0ca548b02b27e861c79..e39d30c05b9febb396cd9f133b9df7718142e299:/docs/latex/wx/sbsizer.tex?ds=inline diff --git a/docs/latex/wx/sbsizer.tex b/docs/latex/wx/sbsizer.tex index 74fe3a5861..f6d8fb5975 100644 --- a/docs/latex/wx/sbsizer.tex +++ b/docs/latex/wx/sbsizer.tex @@ -1,21 +1,28 @@ -% -% automatically generated by HelpGen from -% include\wx\sizer.h at 13/Aug/99 22:27:59 -% +\section{\class{wxStaticBoxSizer}}\label{wxstaticboxsizer} +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. -\section{\class{wxStaticBoxSizer}}\label{wxstaticboxsizer} +\wxheading{Derived from} +\helpref{wxBoxSizer}{wxboxsizer}\\ +\helpref{wxSizer}{wxsizer}\\ +\helpref{wxObject}{wxobject} +\wxheading{Include files} -wxStaticBoxSizer + +\wxheading{Library} -\wxheading{Derived from} +\helpref{wxCore}{librarieslist} -\helpref{wxBoxSizer}{wxboxsizer} +\wxheading{See also} -\wxheading{Data structures} +\helpref{wxSizer}{wxsizer}, \helpref{wxStaticBox}{wxstaticbox}, \helpref{wxBoxSizer}{wxboxsizer}, \helpref{Sizer overview}{sizeroverview} \latexignore{\rtfignore{\wxheading{Members}}} @@ -24,18 +31,18 @@ wxStaticBoxSizer \func{}{wxStaticBoxSizer}{\param{wxStaticBox* }{box}, \param{int }{orient}} +\func{}{wxStaticBoxSizer}{\param{int }{orient}, \param{wxWindow }{*parent}, \param{const wxString\& }{label = wxEmptyString}} -\membersection{wxStaticBoxSizer::RecalcSizes}\label{wxstaticboxsizerrecalcsizes} +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. -\func{void}{RecalcSizes}{\void} - - -\membersection{wxStaticBoxSizer::CalcMin}\label{wxstaticboxsizercalcmin} - -\func{wxSize}{CalcMin}{\void} +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. +