Use the right symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
// Normally, new is automatically defined to be the
|
// Normally, new is automatically defined to be the
|
||||||
// debugging version. If not, this does it.
|
// 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
|
#define new WXDEBUG_NEW
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ bool MyApp::OnInit(void)
|
|||||||
// Show the frame
|
// Show the frame
|
||||||
frame->Show(TRUE);
|
frame->Show(TRUE);
|
||||||
|
|
||||||
#if wxUSE_DEBUG_CONTEXT
|
#if wxUSE_MEMORY_TRACING
|
||||||
wxDebugContext::SetCheckpoint();
|
wxDebugContext::SetCheckpoint();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -102,7 +102,7 @@ bool MyApp::OnInit(void)
|
|||||||
|
|
||||||
const char *data = (const char*) thing ;
|
const char *data = (const char*) thing ;
|
||||||
|
|
||||||
#if wxUSE_DEBUG_CONTEXT
|
#if wxUSE_MEMORY_TRACING
|
||||||
// On MSW, Dump() crashes if using wxLogGui,
|
// On MSW, Dump() crashes if using wxLogGui,
|
||||||
// so use wxLogStderr instead.
|
// so use wxLogStderr instead.
|
||||||
wxLog* oldLog = wxLog::SetActiveTarget(new wxLogStderr);
|
wxLog* oldLog = wxLog::SetActiveTarget(new wxLogStderr);
|
||||||
|
Reference in New Issue
Block a user