wxString name = wxString::Format
(
_T("%s_%s_%lu.dmp"),
- wxTheApp ? (const wxChar*)wxTheApp->GetAppName().c_str()
+ wxTheApp ? (const wxChar*)wxTheApp->GetAppDisplayName().c_str()
: _T("wxwindows"),
wxDateTime::Now().Format(_T("%Y%m%dT%H%M%S")).c_str(),
::GetCurrentProcessId()
argv = new wxChar *[argc + 1];
for ( int i = 0; i < argc; i++ )
{
- argv[i] = wxStrdup(args[i]);
+ argv[i] = wxStrdup(args[i].wx_str());
}
// argv[] must be NULL-terminated