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{Include files
}
17 \wxheading{Window styles
}
19 There are no special styles for this control.
21 See also
\helpref{window styles overview
}{windowstyles
}.
25 \helpref{wxStaticText
}{wxstatictext
}
27 \latexignore{\rtfignore{\wxheading{Members
}}}
29 \membersection{wxStaticBox::wxStaticBox
}\label{wxstaticboxconstr
}
31 \func{}{wxStaticBox
}{\void}
35 \func{}{wxStaticBox
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\param{const wxString\&
}{label
},
\rtfsp
36 \param{const wxPoint\&
}{ pos = wxDefaultPosition
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\rtfsp
37 \param{long
}{ style =
0},
\param{const wxString\&
}{name = ``staticBox"
}}
39 Constructor, creating and showing a static box.
41 \wxheading{Parameters
}
43 \docparam{parent
}{Parent window. Must not be NULL.
}
45 \docparam{id
}{Window identifier. A value of -
1 indicates a default value.
}
47 \docparam{label
}{Text to be displayed in the static box, the empty string for no label.
}
49 \docparam{pos
}{Window position. If the position (-
1, -
1) is specified then a default position is chosen.
}
51 \docparam{size
}{Checkbox size. If the size (-
1, -
1) is specified then a default size is chosen.
}
53 \docparam{style
}{Window style. See
\helpref{wxStaticBox
}{wxstaticbox
}.
}
55 \docparam{name
}{Window name.
}
59 \helpref{wxStaticBox::Create
}{wxstaticboxcreate
}
61 \membersection{wxStaticBox::
\destruct{wxStaticBox
}}
63 \func{void
}{\destruct{wxStaticBox
}}{\void}
65 Destructor, destroying the group box.
67 \membersection{wxStaticBox::Create
}\label{wxstaticboxcreate
}
69 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\param{const wxString\&
}{label
},
\rtfsp
70 \param{const wxPoint\&
}{ pos = wxDefaultPosition
},
\param{const wxSize\&
}{size = wxDefaultSize
},
\rtfsp
71 \param{long
}{ style =
0},
\param{const wxString\&
}{name = ``staticBox"
}}
73 Creates the static box for two-step construction. See
\helpref{wxStaticBox::wxStaticBox
}{wxstaticboxconstr
}\rtfsp