]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobox.cpp
disable the first top level parent, not the topmost top level parent
[wxWidgets.git] / src / gtk / radiobox.cpp
index 37c9f529f2ea800779d6bbcc102239402925b545..3538f3c037a96e6fbb6564bd02011d03755af2a7 100644 (file)
@@ -752,5 +752,16 @@ void wxRadioBox::OnInternalIdle()
     }
 }
 
+// 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