]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/log.h
Applied patch, fixes #12090: wxGTK cursor handling revamp
[wxWidgets.git] / include / wx / log.h
index c632435b62adbe73be41f8f4cae7ce231239673d..41933e853486266806274ce2fc5fd1085bcf0019 100644 (file)
@@ -1572,7 +1572,7 @@ wxSafeShowMessage(const wxString& title, const wxString& text);
 
 // macro which disables debug logging in release builds: this is done by
 // default by IMPLEMENT_APP() so usually it doesn't need to be used explicitly
-#ifdef NDEBUG
+#if defined(NDEBUG) && wxUSE_LOG_DEBUG
     #define wxDISABLE_DEBUG_LOGGING_IN_RELEASE_BUILD() \
         wxLog::SetLogLevel(wxLOG_Info)
 #else // !NDEBUG