]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
don't incorrectly say that wxSOCKET_REUSEADDR is for servers only (closes #10626)
[wxWidgets.git] / src / common / string.cpp
index ed7a6a8670f42d467fd72028e22a8cefdc8d4eac..f3d684f1a468832e6f2d3cf91513e45a828e46c1 100644 (file)
@@ -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