From c242a1ec6d34ec472391391e7934dba6748962e5 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 2 Dec 2004 12:03:45 +0000 Subject: [PATCH] Use the right symbol git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/memcheck/memcheck.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/memcheck/memcheck.cpp b/samples/memcheck/memcheck.cpp index 1fd5393331..55ee6b3424 100644 --- a/samples/memcheck/memcheck.cpp +++ b/samples/memcheck/memcheck.cpp @@ -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_DEBUG_CONTEXT +#if !defined(new) && defined(WXDEBUG_NEW) && wxUSE_MEMORY_TRACING #define new WXDEBUG_NEW #endif @@ -83,7 +83,7 @@ bool MyApp::OnInit(void) // Show the frame frame->Show(TRUE); -#if wxUSE_DEBUG_CONTEXT +#if wxUSE_MEMORY_TRACING wxDebugContext::SetCheckpoint(); #endif @@ -102,7 +102,7 @@ bool MyApp::OnInit(void) const char *data = (const char*) thing ; -#if wxUSE_DEBUG_CONTEXT +#if wxUSE_MEMORY_TRACING // On MSW, Dump() crashes if using wxLogGui, // so use wxLogStderr instead. wxLog* oldLog = wxLog::SetActiveTarget(new wxLogStderr);