1 \section{\class{wxStaticBoxSizer
}}\label{wxstaticboxsizer
}
3 wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static
4 box around the sizer. This static box may be either created independently or
5 the sizer may create it itself as a convenience. In any case, the sizer owns
6 the
\helpref{wxStaticBox
}{wxstaticbox
} control and will delete it if it is
9 \wxheading{Derived from
}
11 \helpref{wxBoxSizer
}{wxboxsizer
}\\
12 \helpref{wxSizer
}{wxsizer
}\\
13 \helpref{wxObject
}{wxobject
}
15 \wxheading{Include files
}
21 \helpref{wxCore
}{librarieslist
}
25 \helpref{wxSizer
}{wxsizer
},
\helpref{wxStaticBox
}{wxstaticbox
},
\helpref{wxBoxSizer
}{wxboxsizer
},
\helpref{Sizer overview
}{sizeroverview
}
27 \latexignore{\rtfignore{\wxheading{Members
}}}
30 \membersection{wxStaticBoxSizer::wxStaticBoxSizer
}\label{wxstaticboxsizerwxstaticboxsizer
}
32 \func{}{wxStaticBoxSizer
}{\param{wxStaticBox*
}{box
},
\param{int
}{orient
}}
34 \func{}{wxStaticBoxSizer
}{\param{int
}{orient
},
\param{wxWindow
}{*parent
},
\param{const wxString\&
}{label = wxEmptyString
}}
36 The first constructor uses an already existing static box. It takes the
37 associated static box and the orientation
\arg{orient
}, which can be either
38 \texttt{wxVERTICAL
} or
\texttt{wxHORIZONTAL
} as parameters.
40 The second one creates a new static box with the given label and parent window.
43 \membersection{wxStaticBoxSizer::GetStaticBox
}\label{wxstaticboxsizergetstaticbox
}
45 \func{wxStaticBox*
}{GetStaticBox
}{\void}
47 Returns the static box associated with the sizer.