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:
Karsten Ballüder
1998-07-10 11:14:17 +00:00
parent 8b9518ee4a
commit b2aef89b7a
39 changed files with 150 additions and 150 deletions

View File

@@ -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