m_needParent = TRUE;
m_acceptsFocus = TRUE;
- PreCreation( parent, id, pos, size, style, name );
-
-#if wxUSE_VALIDATORS
- SetValidator( validator );
-#endif
+ if (!PreCreation( parent, pos, size ) ||
+ !CreateBase( parent, id, pos, size, style, validator, name ))
+ {
+ wxFAIL_MSG( _T("wxRadioBox creation failed") );
+ return FALSE;
+ }
m_widget = gtk_frame_new( title.mbc_str() );
node = node->Next();
}
res.x = x+4;
- res.y = 42;
+ res.y = 40;
}
return res;