X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..3826db3ef5fc3ac97fb91aa11eb2381b2c96248d:/src/common/object.cpp diff --git a/src/common/object.cpp b/src/common/object.cpp index 4dc8b093b3..7085b9bb8b 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -25,11 +25,11 @@ #include #include -#if (DEBUG && USE_MEMORY_TRACING) || USE_DEBUG_CONTEXT +#if (WXDEBUG && USE_MEMORY_TRACING) || USE_DEBUG_CONTEXT #include "wx/memory.h" #endif -#if DEBUG || USE_DEBUG_CONTEXT +#if WXDEBUG || USE_DEBUG_CONTEXT // for wxObject::Dump #include #endif @@ -69,7 +69,7 @@ bool wxObject::IsKindOf(wxClassInfo *info) return FALSE; } -#if DEBUG || USE_DEBUG_CONTEXT +#if WXDEBUG || USE_DEBUG_CONTEXT void wxObject::Dump(ostream& str) { if (GetClassInfo() && GetClassInfo()->GetClassName()) @@ -79,7 +79,7 @@ void wxObject::Dump(ostream& str) } #endif -#if DEBUG && USE_MEMORY_TRACING +#if WXDEBUG && USE_MEMORY_TRACING #ifdef new #undef new