]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied Andreas patch for applying the widget style
authorRobert Roebling <robert@roebling.de>
Tue, 17 Aug 2004 20:53:29 +0000 (20:53 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 17 Aug 2004 20:53:29 +0000 (20:53 +0000)
   to a wxRadioBox's GtkFrame.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/radiobox.cpp
src/gtk1/radiobox.cpp

index 11d58c16d180ebd502ffef0e12bda4768b0947eb..f5779a893668759ee37b2631232e7a4f0a216098 100644 (file)
@@ -686,6 +686,10 @@ void wxRadioBox::DoApplyWidgetStyle(GtkRcStyle *style)
 {
     gtk_widget_modify_style( m_widget, style );
 
+#ifdef __WXGTK20__
+    gtk_widget_modify_style(GTK_FRAME(m_widget)->label_widget, style);
+#endif
+
     wxList::compatibility_iterator node = m_boxes.GetFirst();
     while (node)
     {
index 11d58c16d180ebd502ffef0e12bda4768b0947eb..f5779a893668759ee37b2631232e7a4f0a216098 100644 (file)
@@ -686,6 +686,10 @@ void wxRadioBox::DoApplyWidgetStyle(GtkRcStyle *style)
 {
     gtk_widget_modify_style( m_widget, style );
 
+#ifdef __WXGTK20__
+    gtk_widget_modify_style(GTK_FRAME(m_widget)->label_widget, style);
+#endif
+
     wxList::compatibility_iterator node = m_boxes.GetFirst();
     while (node)
     {