X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa75d6d98c2ca564d2a3a6892e2efeef789ef433..d8fc3398ac61229b4986a6c72eb17af98f41123e:/src/common/memory.cpp diff --git a/src/common/memory.cpp b/src/common/memory.cpp index e141d7a766..a1728fca67 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, static_cast(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, static_cast(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); } }