From dd964dccf773a21ed1769e2e57ae6a7694e2995d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 4 Dec 2001 17:37:23 +0000 Subject: [PATCH] wxUSE_TIPWINDOW may be set even if wxUSE_POPUPWIN is unset git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- configure | 14 +++++++------- configure.in | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/configure b/configure index e717379577..f9b23f3000 100755 --- a/configure +++ b/configure @@ -18298,18 +18298,18 @@ if test "$wxUSE_POPUPWIN" = "yes"; then EOF - if test "$wxUSE_TIPWINDOW" = "yes"; then - cat >> confdefs.h <<\EOF -#define wxUSE_TIPWINDOW 1 -EOF - - fi - USES_CONTROLS=1 fi fi fi +if test "$wxUSE_TIPWINDOW" = "yes"; then + cat >> confdefs.h <<\EOF +#define wxUSE_TIPWINDOW 1 +EOF + +fi + if test "$USES_CONTROLS" = 1; then cat >> confdefs.h <<\EOF #define wxUSE_CONTROLS 1 diff --git a/configure.in b/configure.in index 3956762697..a3bfcb7fa6 100644 --- a/configure.in +++ b/configure.in @@ -4513,15 +4513,15 @@ if test "$wxUSE_POPUPWIN" = "yes"; then else AC_DEFINE(wxUSE_POPUPWIN) - if test "$wxUSE_TIPWINDOW" = "yes"; then - AC_DEFINE(wxUSE_TIPWINDOW) - fi - USES_CONTROLS=1 fi fi fi +if test "$wxUSE_TIPWINDOW" = "yes"; then + AC_DEFINE(wxUSE_TIPWINDOW) +fi + if test "$USES_CONTROLS" = 1; then AC_DEFINE(wxUSE_CONTROLS) fi -- 2.45.2