]> git.saurik.com Git - wxWidgets.git/commitdiff
Compile fix.
authorRobert Roebling <robert@roebling.de>
Thu, 8 Aug 2002 18:26:02 +0000 (18:26 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 8 Aug 2002 18:26:02 +0000 (18:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/textctrl.cpp
src/gtk1/textctrl.cpp

index 675eafd62e7e331aabd4d87d0b91668273b6adb2..abfebd137571cee148f300d18b3f455cdc6482c4 100644 (file)
@@ -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;
 
index 675eafd62e7e331aabd4d87d0b91668273b6adb2..abfebd137571cee148f300d18b3f455cdc6482c4 100644 (file)
@@ -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;