X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e691f46b2ec1b5dbbff2e51131e3c532e688a89..a148cfb64451d6553cf66d1075b654e54e908210:/src/gtk1/tooltip.cpp?ds=sidebyside diff --git a/src/gtk1/tooltip.cpp b/src/gtk1/tooltip.cpp index d6577bfb93..03f7ebfe98 100644 --- a/src/gtk1/tooltip.cpp +++ b/src/gtk1/tooltip.cpp @@ -76,7 +76,9 @@ void wxToolTip::Apply( wxWindow *win ) g_style->fg[GTK_STATE_NORMAL] = ss_fg; g_style->bg[GTK_STATE_NORMAL] = ss_bg; +#ifndef __WXGTK20__ SET_STYLE_FONT( g_style, GtkGetDefaultGuiFont() ); +#endif gtk_widget_set_style( ss_tooltips->tip_window, g_style ); #else // GTK+ 1.0