1 \section{\class{wxStaticBox
}}\label{wxstaticbox
}
3 A static box is a rectangle drawn around other panel items to denote
4 a logical grouping of items.
6 \wxheading{Derived from
}
8 \helpref{wxControl
}{wxcontrol
}\\
9 \helpref{wxWindow
}{wxwindow
}\\
10 \helpref{wxEvtHandler
}{wxevthandler
}\\
11 \helpref{wxObject
}{wxobject
}
13 \wxheading{Window styles
}
15 There are no special styles for this control.
17 See also
\helpref{window styles overview
}{windowstyles
}.
21 \helpref{wxStaticText
}{wxstatictext
}
23 \latexignore{\rtfignore{\wxheading{Members
}}}
25 \membersection{wxStaticBox::wxStaticBox
}\label{wxstaticboxconstr
}
27 \func{}{wxStaticBox
}{\void}
31 \func{}{wxStaticBox
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\param{const wxString\&
}{label
},
\rtfsp
32 \param{const wxPoint\&
}{ pos = wxDefaultPosition
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\rtfsp
33 \param{long
}{ style =
0},
\param{const wxString\&
}{name = ``staticBox"
}}
35 Constructor, creating and showing a static box.
37 \wxheading{Parameters
}
39 \docparam{parent
}{Parent window. Must not be NULL.
}
41 \docparam{id
}{Window identifier. A value of -
1 indicates a default value.
}
43 \docparam{label
}{Text to be displayed in the static box, the empty string for no label.
}
45 \docparam{pos
}{Window position. If the position (-
1, -
1) is specified then a default position is chosen.
}
47 \docparam{size
}{Checkbox size. If the size (-
1, -
1) is specified then a default size is chosen.
}
49 \docparam{style
}{Window style. See
\helpref{wxStaticBox
}{wxstaticbox
}.
}
51 \docparam{name
}{Window name.
}
55 \helpref{wxStaticBox::Create
}{wxstaticboxcreate
}
57 \membersection{wxStaticBox::
\destruct{wxStaticBox
}}
59 \func{void
}{\destruct{wxStaticBox
}}{\void}
61 Destructor, destroying the group box.
63 \membersection{wxStaticBox::Create
}\label{wxstaticboxcreate
}
65 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\param{const wxString\&
}{label
},
\rtfsp
66 \param{const wxPoint\&
}{ pos = wxDefaultPosition
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\rtfsp
67 \param{long
}{ style =
0},
\param{const wxString\&
}{name = ``staticBox"
}}
69 Creates the static box for two-step construction. See
\helpref{wxStaticBox::wxStaticBox
}{wxstaticboxconstr
}\rtfsp