From eb9e6a00be2fc28935fe4eb90da9ba543abd8854 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 29 Mar 2002 13:52:42 +0000 Subject: [PATCH] Wrong #ifdef for GTK 1.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 2 +- src/gtk1/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 111d947640..d3fc1c023d 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2721,7 +2721,7 @@ void wxWindowGTK::DoSetSize( int x, int y, int width, int height, int sizeFlags int border = 0; int bottom_border = 0; -#ifndef __WXGTK__ +#ifndef __WXGTK20__ if (GTK_WIDGET_CAN_DEFAULT(m_widget)) { /* the default button has a border around it */ diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 111d947640..d3fc1c023d 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -2721,7 +2721,7 @@ void wxWindowGTK::DoSetSize( int x, int y, int width, int height, int sizeFlags int border = 0; int bottom_border = 0; -#ifndef __WXGTK__ +#ifndef __WXGTK20__ if (GTK_WIDGET_CAN_DEFAULT(m_widget)) { /* the default button has a border around it */ -- 2.50.0