const wxString labelGTK = GTKConvertMnemonics(label);
-#ifdef __WXGTK20__
gtk_label_set_text_with_mnemonic(w, wxGTK_CONV(labelGTK));
-#else
- gtk_label_set(w, wxGTK_CONV(labelGTK));
-#endif
}
void wxControl::GTKSetLabelForFrame(GtkFrame *w, const wxString& label)
style->bg[state].blue >> SHIFT);
// get the style's font
-#ifdef __WXGTK20__
if ( !style->font_desc )
style = gtk_widget_get_default_style();
if ( style && style->font_desc )
attr.font = wxFont(wxString::FromAscii(font_name));
g_free (font_name);
}
-#else
- // TODO: isn't there a way to get a standard gtk 1.2 font?
- attr.font = wxFont( 12, wxSWISS, wxNORMAL, wxNORMAL );
-#endif
return attr;
}