]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/memcheck/memcheck.cpp
No need to match bg colours any more
[wxWidgets.git] / samples / memcheck / memcheck.cpp
index 55ee6b34240669df20e87748a32157bf0a21a34e..93dcda02e5725ca0996f159b5082071a15e6691b 100644 (file)
@@ -37,7 +37,7 @@
 
 // Normally, new is automatically defined to be the
 // debugging version. If not, this does it.
-#if !defined(new) && defined(WXDEBUG_NEW) && wxUSE_MEMORY_TRACING
+#if !defined(new) && defined(WXDEBUG_NEW) && wxUSE_MEMORY_TRACING && wxUSE_GLOBAL_MEMORY_OPERATORS
 #define new WXDEBUG_NEW
 #endif