Cleared up DEBUG define mess, defines are now called __WXDEBUG__ and WXDEBUG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,11 +25,11 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#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 <iostream.h>
|
||||
#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
|
||||
|
Reference in New Issue
Block a user