From 72bb50de244ee2795e050fbde4c368a21d67cc60 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sat, 15 Jan 2005 20:06:20 +0000
Subject: [PATCH] removed unused wxUSE_NOGUI to avoid confusion with wxUSE_GUI

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 configure    | 7 +------
 configure.in | 2 --
 setup.h.in   | 5 -----
 3 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/configure b/configure
index 39e35286c2..a973dfea68 100755
--- a/configure
+++ b/configure
@@ -33548,12 +33548,7 @@ if test "$wxUSE_GUI" = "yes"; then
 _ACEOF
 
 
-                      else
-  cat >>confdefs.h <<\_ACEOF
-#define wxUSE_NOGUI 1
-_ACEOF
-
-fi
+                      fi
 
 
 if test "$wxUSE_UNIX" = "yes"; then
diff --git a/configure.in b/configure.in
index bc04d854b2..db74b16732 100644
--- a/configure.in
+++ b/configure.in
@@ -4509,8 +4509,6 @@ if test "$wxUSE_GUI" = "yes"; then
   dnl    need the dcs, pens, brushes, ...), this just can't be done now
   dnl 4. menu stuff: wxMenu, wxMenuBar, wxMenuItem
   dnl 5. misc stuff: timers, settings, message box
-else
-  AC_DEFINE(wxUSE_NOGUI)
 fi
 
 dnl ---------------------------------------------------------------------------
diff --git a/setup.h.in b/setup.h.in
index 8c1291e681..460b31b7b0 100644
--- a/setup.h.in
+++ b/setup.h.in
@@ -612,11 +612,6 @@
  */
 #define wxUSE_OPENGL 0
 
-/*
- * Don't use GUI (defined to 1 when compiling/using base only)
- */
-#define wxUSE_NOGUI 0
-
 /*
  * Set to 1 to compile MS Windows XP theme engine support
  */
-- 
2.45.2