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:
@@ -24,7 +24,7 @@
|
||||
#include "wx/defs.h"
|
||||
#endif
|
||||
|
||||
#if (DEBUG && USE_MEMORY_TRACING) || USE_DEBUG_CONTEXT
|
||||
#if (WXDEBUG && USE_MEMORY_TRACING) || USE_DEBUG_CONTEXT
|
||||
|
||||
#ifdef __GNUG__
|
||||
// #pragma implementation
|
||||
@@ -623,7 +623,7 @@ void wxDebugContext::TraverseList (PmSFV func, wxMemStruct *from)
|
||||
*/
|
||||
bool wxDebugContext::PrintList (void)
|
||||
{
|
||||
#if DEBUG
|
||||
#if WXDEBUG
|
||||
if (!HasStream())
|
||||
return FALSE;
|
||||
|
||||
@@ -637,7 +637,7 @@ bool wxDebugContext::PrintList (void)
|
||||
|
||||
bool wxDebugContext::Dump(void)
|
||||
{
|
||||
#if DEBUG
|
||||
#if WXDEBUG
|
||||
if (!HasStream())
|
||||
return FALSE;
|
||||
|
||||
@@ -687,7 +687,7 @@ static wxDebugStatsStruct *InsertStatsStruct(wxDebugStatsStruct *head, wxDebugSt
|
||||
|
||||
bool wxDebugContext::PrintStatistics(bool detailed)
|
||||
{
|
||||
#if DEBUG
|
||||
#if WXDEBUG
|
||||
if (!HasStream())
|
||||
return FALSE;
|
||||
|
||||
@@ -860,7 +860,7 @@ int wxDebugContext::CountObjectsLeft(void)
|
||||
// We'll only do malloc and free for the moment: leave the interesting
|
||||
// stuff for the wxObject versions.
|
||||
|
||||
#if DEBUG && USE_GLOBAL_MEMORY_OPERATORS
|
||||
#if WXDEBUG && USE_GLOBAL_MEMORY_OPERATORS
|
||||
|
||||
#ifdef new
|
||||
#undef new
|
||||
@@ -1074,7 +1074,7 @@ void wxTraceLevel(int level, const char *fmt ...)
|
||||
#endif
|
||||
}
|
||||
|
||||
#else // USE_MEMORY_TRACING && DEBUG
|
||||
#else // USE_MEMORY_TRACING && WXDEBUG
|
||||
void wxTrace(const char *WXUNUSED(fmt) ...)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user