X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/529e491ce038ad3a3aef4f3247ff7e16767d9734..3bab636ddf48fa168ad24c49a161dfa39eab34e4:/src/common/string.cpp diff --git a/src/common/string.cpp b/src/common/string.cpp index ed7a6a8670..f3d684f1a4 100644 --- a/src/common/string.cpp +++ b/src/common/string.cpp @@ -105,7 +105,7 @@ static wxStrCacheInitializer gs_stringCacheInit; // gdb seems to be unable to display thread-local variables correctly, at least // not my 6.4.98 version under amd64, so provide this debugging helper to do it -#ifdef __WXDEBUG__ +#if wxDEBUG_LEVEL >= 2 struct wxStrCacheDumper { @@ -130,7 +130,7 @@ struct wxStrCacheDumper void wxDumpStrCache() { wxStrCacheDumper::ShowAll(); } -#endif // __WXDEBUG__ +#endif // wxDEBUG_LEVEL >= 2 #ifdef wxPROFILE_STRING_CACHE