From: Robert Roebling Date: Fri, 29 Mar 2002 13:52:42 +0000 (+0000) Subject: Wrong #ifdef for GTK 1.2 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb9e6a00be2fc28935fe4eb90da9ba543abd8854 Wrong #ifdef for GTK 1.2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 */