]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed definition of TRUE broken by the last commit
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 1 May 2002 16:25:23 +0000 (16:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 1 May 2002 16:25:23 +0000 (16:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 897d1addb35c915dfcbebabb903824133090e8ae..f87619fa484dee35d1f6f5271f2585069834d15f 100644 (file)
         #ifndef WX_TRUE_DEFINED
             #undef TRUE
             #undef FALSE
-            #define TRUE  ((bool)1)
-            #define FALSE ((bool)0)
         #endif
     #endif
+
+    #ifndef TRUE
+        #define TRUE  ((bool)1)
+        #define FALSE ((bool)0)
+    #endif
 #else // !__cplusplus
     // the definitions above don't work for C sources
     #ifndef TRUE