Nuke GTK1 from src/gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -385,11 +385,7 @@ wxString wxRadioBox::GetString( int n ) const
|
||||
|
||||
GtkLabel *label = GTK_LABEL( BUTTON_CHILD(node->GetData()) );
|
||||
|
||||
#ifdef __WXGTK20__
|
||||
wxString str( wxGTK_CONV_BACK( gtk_label_get_text(label) ) );
|
||||
#else
|
||||
wxString str( label->label );
|
||||
#endif
|
||||
|
||||
return str;
|
||||
}
|
||||
@@ -528,10 +524,7 @@ void wxRadioBox::GtkEnableEvents()
|
||||
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)
|
||||
|
Reference in New Issue
Block a user