From 550cb72bf64370e2d7c58bca3acd85417899536f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Jul 2008 16:29:57 +0000 Subject: [PATCH] more compilation fixes for wxUSE_STL && wxUSE_DEBUG_CONTEXT build (#9698) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/memory.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/memory.cpp b/src/common/memory.cpp index e141d7a766..f4491a6758 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -593,8 +593,8 @@ bool wxDebugContext::Dump(void) if (wxTheApp) { appNameStr = wxTheApp->GetAppName(); - appName = appNameStr; - OutputDumpLine(wxT("----- Memory dump of %s at %s -----"), appName, (const wxChar *)wxNow() ); + appName = appNameStr.c_str(); + OutputDumpLine(wxT("----- Memory dump of %s at %s -----"), appName, wx_static_cast(const wxChar *, wxNow().c_str())); } else { @@ -649,8 +649,8 @@ bool wxDebugContext::PrintStatistics(bool detailed) if (wxTheApp) { appNameStr = wxTheApp->GetAppName(); - appName = appNameStr; - OutputDumpLine(wxT("----- Memory statistics of %s at %s -----"), appName, (const wxChar *) wxNow() ); + appName = appNameStr.c_str(); + OutputDumpLine(wxT("----- Memory statistics of %s at %s -----"), appName, wx_static_cast(const wxChar *, wxNow().c_str())); } else { @@ -743,7 +743,7 @@ bool wxDebugContext::PrintClasses(void) if (wxTheApp) { appNameStr = wxTheApp->GetAppName(); - appName = appNameStr; + appName = appNameStr.c_str(); wxLogMessage(wxT("----- Classes in %s -----"), appName); } } -- 2.47.2