#include <strings.h>
-#include <gdk/gdk.h>
+#include "wx/gtk/private.h"
#include <gdk/gdkprivate.h>
-#include <gtk/gtk.h>
// ----------------------------------------------------------------------------
// constants
GtkStyle *def = gtk_rc_get_style( widget );
if (def)
{
- g_systemDefaultGuiFont = gdk_font_ref( def->font );
+ g_systemDefaultGuiFont = gdk_font_ref( GET_STYLE_FONT(def) );
}
else
{
def = gtk_widget_get_default_style();
if (def)
- g_systemDefaultGuiFont = gdk_font_ref( def->font );
+ g_systemDefaultGuiFont = gdk_font_ref( GET_STYLE_FONT(def) );
}
gtk_widget_destroy( widget );
}