From: Vadim Zeitlin Date: Mon, 23 Mar 2009 10:42:17 +0000 (+0000) Subject: don't disable wxLogTrace() at debug levels < 2 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9d2214dd0794f652b7be78a8209d08809913bd28 don't disable wxLogTrace() at debug levels < 2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/log.h b/include/wx/log.h index 39a539f329..d948772c24 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -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