]> git.saurik.com Git - wxWidgets.git/commitdiff
don't disable wxLogTrace() at debug levels < 2
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Mar 2009 10:42:17 +0000 (10:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Mar 2009 10:42:17 +0000 (10:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/log.h

index 39a539f329ce6adbad7ab7402e8d8aa9fcf8d22a..d948772c244d9e2717dc954c8faae71dd8453ffb 100644 (file)
@@ -66,9 +66,9 @@ typedef unsigned long wxLogLevel;
 
 // wxUSE_LOG_TRACE enables the trace messages, they are disabled by default
 #ifndef wxUSE_LOG_TRACE
-    #if wxDEBUG_LEVEL >= 2
+    #if wxDEBUG_LEVEL
         #define wxUSE_LOG_TRACE 1
-    #else // wxDEBUG_LEVEL < 2
+    #else // !wxDEBUG_LEVEL
         #define wxUSE_LOG_TRACE 0
     #endif
 #endif // wxUSE_LOG_TRACE