From: Vadim Zeitlin Date: Tue, 11 Aug 2009 18:16:32 +0000 (+0000) Subject: Use the app name, not display name, as debug report name, X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7735b2ea691f41d7a7f007befbe969386873b86e 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 --- diff --git a/src/common/debugrpt.cpp b/src/common/debugrpt.cpp index 85a8a2f6c8..2acb3a0051 100644 --- a/src/common/debugrpt.cpp +++ b/src/common/debugrpt.cpp @@ -252,8 +252,8 @@ wxDebugReport::~wxDebugReport() wxString wxDebugReport::GetReportName() const { - if(wxTheApp) - return wxTheApp->GetAppDisplayName(); + if ( wxTheApp ) + return wxTheApp->GetAppName(); return wxT("wx"); }