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
This commit is contained in:
@@ -593,8 +593,8 @@ bool wxDebugContext::Dump(void)
|
|||||||
if (wxTheApp)
|
if (wxTheApp)
|
||||||
{
|
{
|
||||||
appNameStr = wxTheApp->GetAppName();
|
appNameStr = wxTheApp->GetAppName();
|
||||||
appName = appNameStr;
|
appName = appNameStr.c_str();
|
||||||
OutputDumpLine(wxT("----- Memory dump of %s at %s -----"), appName, (const wxChar *)wxNow() );
|
OutputDumpLine(wxT("----- Memory dump of %s at %s -----"), appName, wx_static_cast(const wxChar *, wxNow().c_str()));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -649,8 +649,8 @@ bool wxDebugContext::PrintStatistics(bool detailed)
|
|||||||
if (wxTheApp)
|
if (wxTheApp)
|
||||||
{
|
{
|
||||||
appNameStr = wxTheApp->GetAppName();
|
appNameStr = wxTheApp->GetAppName();
|
||||||
appName = appNameStr;
|
appName = appNameStr.c_str();
|
||||||
OutputDumpLine(wxT("----- Memory statistics of %s at %s -----"), appName, (const wxChar *) wxNow() );
|
OutputDumpLine(wxT("----- Memory statistics of %s at %s -----"), appName, wx_static_cast(const wxChar *, wxNow().c_str()));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -743,7 +743,7 @@ bool wxDebugContext::PrintClasses(void)
|
|||||||
if (wxTheApp)
|
if (wxTheApp)
|
||||||
{
|
{
|
||||||
appNameStr = wxTheApp->GetAppName();
|
appNameStr = wxTheApp->GetAppName();
|
||||||
appName = appNameStr;
|
appName = appNameStr.c_str();
|
||||||
wxLogMessage(wxT("----- Classes in %s -----"), appName);
|
wxLogMessage(wxT("----- Classes in %s -----"), appName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user