+ 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);
+ g_object_ref(m_widget);
+
+ // only base SetLabel needs to be called after GTKCreateFrame
+ wxControl::SetLabel(label);
+
+ m_parent->DoAddChild( this );
+
+ PostCreation(size);