Corrected GTK2 creation of default font.

Removed ugly SET_STYLE_FONT code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-01-31 10:31:05 +00:00
parent a148cfb644
commit 288059b2b9
10 changed files with 20 additions and 54 deletions

View File

@@ -76,10 +76,6 @@ 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
gtk_tooltips_set_colors( ss_tooltips, &ss_bg, &ss_fg );