+}
+
+wxStaticBox::wxStaticBox( wxWindow *parent, wxWindowID id, const wxString &label,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxString &name )
+{
+ Create( parent, id, label, pos, size, style, name );
+}
+
+bool wxStaticBox::Create( wxWindow *parent, wxWindowID id, const wxString &label,
+ const wxPoint &pos, const wxSize &size,
+ long style, const wxString &name )
+{
+ m_needParent = TRUE;
+
+ if (!PreCreation( parent, pos, size ) ||
+ !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
+ {
+ wxFAIL_MSG( wxT("wxStaticBox creation failed") );
+ return FALSE;
+ }
+
+ m_isStaticBox = TRUE;