From f341e39bdff67c5532e719599a1217ead7c85867 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 8 Aug 2002 18:26:02 +0000 Subject: [PATCH] Compile fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/textctrl.cpp | 2 +- src/gtk1/textctrl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index 675eafd62e..abfebd1375 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -51,7 +51,7 @@ static void wxGtkTextInsert(GtkWidget *text, const char *txt, size_t len) { -#ifndef __WXGTK__ +#ifndef __WXGTK20__ GdkFont *font = attr.HasFont() ? attr.GetFont().GetInternalFont() : NULL; diff --git a/src/gtk1/textctrl.cpp b/src/gtk1/textctrl.cpp index 675eafd62e..abfebd1375 100644 --- a/src/gtk1/textctrl.cpp +++ b/src/gtk1/textctrl.cpp @@ -51,7 +51,7 @@ static void wxGtkTextInsert(GtkWidget *text, const char *txt, size_t len) { -#ifndef __WXGTK__ +#ifndef __WXGTK20__ GdkFont *font = attr.HasFont() ? attr.GetFont().GetInternalFont() : NULL; -- 2.45.2