X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/984152a6be8295008b868e0a1b9d82172aa69aef..218f97d382565ecc70ef12bfdeaa3495680fc60d:/src/gtk1/settings.cpp diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index eab86263f5..76a1b0565d 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/settings.cpp @@ -21,9 +21,6 @@ #include #include -extern GdkFont *GtkGetDefaultGuiFont(); - - /* #define wxSYS_COLOUR_SCROLLBAR 0 #define wxSYS_COLOUR_BACKGROUND 1 @@ -348,19 +345,6 @@ wxFont wxSystemSettingsNative::GetFont( wxSystemFont index ) { if (!g_systemFont) { -#if 0 - GdkFont *gdk_font = GtkGetDefaultGuiFont(); - if (gdk_font) - { - GSList *font_list = ((GdkFontPrivate*)gdk_font)->names; - char *name = (char*)font_list->data; - wxString font_string( name ); - wxFontData font_data; - g_systemFont = new wxFont( font_string, font_data ); - } - gtk_widget_destroy( widget ); -#endif - g_systemFont = new wxFont( 12, wxSWISS, wxNORMAL, wxNORMAL ); }