From 464f1a1da6190a3109a5c5396e3bddcaa43468b6 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 31 Jan 2003 14:45:38 +0000 Subject: [PATCH] Compile fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/font.cpp | 4 ++-- src/gtk1/font.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index 6545b24fd2..0ad6019e38 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -886,13 +886,13 @@ extern GdkFont *GtkGetDefaultGuiFont() GtkStyle *def = gtk_rc_get_style( widget ); if (def) { - g_systemDefaultGuiFont = gdk_font_ref( GET_STYLE_FONT(def) ); + g_systemDefaultGuiFont = gdk_font_ref( def->font ); } else { def = gtk_widget_get_default_style(); if (def) - g_systemDefaultGuiFont = gdk_font_ref( GET_STYLE_FONT(def) ); + g_systemDefaultGuiFont = gdk_font_ref( def->font ); } gtk_widget_destroy( widget ); } diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index 6545b24fd2..0ad6019e38 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -886,13 +886,13 @@ extern GdkFont *GtkGetDefaultGuiFont() GtkStyle *def = gtk_rc_get_style( widget ); if (def) { - g_systemDefaultGuiFont = gdk_font_ref( GET_STYLE_FONT(def) ); + g_systemDefaultGuiFont = gdk_font_ref( def->font ); } else { def = gtk_widget_get_default_style(); if (def) - g_systemDefaultGuiFont = gdk_font_ref( GET_STYLE_FONT(def) ); + g_systemDefaultGuiFont = gdk_font_ref( def->font ); } gtk_widget_destroy( widget ); } -- 2.45.2