bool wasShown = IsShown();
if ( wasShown )
Hide(); // prevent PostCreation() from showing us
- PostCreation();
- InheritAttributes();
-
- ApplyWidgetStyle();
SetLabel( title );
- SetFont( parent->GetFont() );
-
- SetBestSize( size );
+ PostCreation(size);
if ( wasShown )
Show();
}
}
+// static
+wxVisualAttributes
+wxRadioBox::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+ wxVisualAttributes attr;
+ GtkWidget* widget = gtk_radio_button_new_with_label(NULL, "");
+ attr = GetDefaultAttributesFromGTKWidget(widget);
+ gtk_widget_destroy(widget);
+ return attr;
+}
+
#endif // wxUSE_RADIOBOX