Use the app name, not display name, as debug report name,

This name is used for files/directories and so should be short and not contain
spaces while the display name usually does contain them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-08-11 18:16:32 +00:00
parent 01b5ad3b50
commit 7735b2ea69

View File

@@ -252,8 +252,8 @@ wxDebugReport::~wxDebugReport()
wxString wxDebugReport::GetReportName() const wxString wxDebugReport::GetReportName() const
{ {
if(wxTheApp) if ( wxTheApp )
return wxTheApp->GetAppDisplayName(); return wxTheApp->GetAppName();
return wxT("wx"); return wxT("wx");
} }