From 81e88f5bc86bfca84443c8b44268779daf58e42a Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Tue, 17 Aug 2004 20:53:29 +0000 Subject: [PATCH] Applied Andreas patch for applying the widget style 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 | 4 ++++ src/gtk1/radiobox.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/gtk/radiobox.cpp b/src/gtk/radiobox.cpp index 11d58c16d1..f5779a8936 100644 --- a/src/gtk/radiobox.cpp +++ b/src/gtk/radiobox.cpp @@ -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) { diff --git a/src/gtk1/radiobox.cpp b/src/gtk1/radiobox.cpp index 11d58c16d1..f5779a8936 100644 --- a/src/gtk1/radiobox.cpp +++ b/src/gtk1/radiobox.cpp @@ -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) {