- Create( parent, id, label, pos, size, style, 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_widget = GTKCreateFrame(label);
+ wxControl::SetLabel(label);
+
+ m_parent->DoAddChild( this );
+
+ PostCreation(size);