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:
parent
01b5ad3b50
commit
7735b2ea69
@ -252,8 +252,8 @@ wxDebugReport::~wxDebugReport()
|
||||
|
||||
wxString wxDebugReport::GetReportName() const
|
||||
{
|
||||
if(wxTheApp)
|
||||
return wxTheApp->GetAppDisplayName();
|
||||
if ( wxTheApp )
|
||||
return wxTheApp->GetAppName();
|
||||
|
||||
return wxT("wx");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user