git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54560
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
msg2.Printf(wxT(" at 0x%lX, size %d"), (long)GetActualData(), (int)RequestSize());
msg += msg2;
msg2.Printf(wxT(" at 0x%lX, size %d"), (long)GetActualData(), (int)RequestSize());
msg += msg2;
- wxDebugContext::OutputDumpLine(msg);
+ wxDebugContext::OutputDumpLine(msg.c_str());
wxString msg2;
msg2.Printf(wxT("non-object data at 0x%lX, size %d"), (long)GetActualData(), (int)RequestSize() );
msg += msg2;
wxString msg2;
msg2.Printf(wxT("non-object data at 0x%lX, size %d"), (long)GetActualData(), (int)RequestSize() );
msg += msg2;
- wxDebugContext::OutputDumpLine(msg);
+ wxDebugContext::OutputDumpLine(msg.c_str());
- wxChar* appName = (wxChar*) wxT("application");
+ const wxChar* appName = wxT("application");
wxString appNameStr;
if (wxTheApp)
{
appNameStr = wxTheApp->GetAppName();
wxString appNameStr;
if (wxTheApp)
{
appNameStr = wxTheApp->GetAppName();
- appName = WXSTRINGCAST appNameStr;
- OutputDumpLine(wxT("----- Memory dump of %s at %s -----"), appName, WXSTRINGCAST wxNow() );
+ appName = appNameStr;
+ OutputDumpLine(wxT("----- Memory dump of %s at %s -----"), appName, (const wxChar *)wxNow() );
- wxChar* appName = (wxChar*) wxT("application");
+ const wxChar* appName = wxT("application");
wxString appNameStr;
if (wxTheApp)
{
appNameStr = wxTheApp->GetAppName();
wxString appNameStr;
if (wxTheApp)
{
appNameStr = wxTheApp->GetAppName();
- appName = WXSTRINGCAST appNameStr;
- OutputDumpLine(wxT("----- Memory statistics of %s at %s -----"), appName, WXSTRINGCAST wxNow() );
+ appName = appNameStr;
+ OutputDumpLine(wxT("----- Memory statistics of %s at %s -----"), appName, (const wxChar *) wxNow() );
bool wxDebugContext::PrintClasses(void)
{
{
bool wxDebugContext::PrintClasses(void)
{
{
- wxChar* appName = (wxChar*) wxT("application");
+ const wxChar* appName = wxT("application");
wxString appNameStr;
if (wxTheApp)
{
appNameStr = wxTheApp->GetAppName();
wxString appNameStr;
if (wxTheApp)
{
appNameStr = wxTheApp->GetAppName();
- appName = WXSTRINGCAST appNameStr;
wxLogMessage(wxT("----- Classes in %s -----"), appName);
}
}
wxLogMessage(wxT("----- Classes in %s -----"), appName);
}
}