]> git.saurik.com Git - wxWidgets.git/commitdiff
Use the app name, not display name, as debug report name,
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Aug 2009 18:16:32 +0000 (18:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Aug 2009 18:16:32 +0000 (18:16 +0000)
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

src/common/debugrpt.cpp

index 85a8a2f6c82f489b708a59d1c0d98ff5cca0872e..2acb3a0051cfb6d23134294281afb5d57b84f305 100644 (file)
@@ -252,8 +252,8 @@ wxDebugReport::~wxDebugReport()
 
 wxString wxDebugReport::GetReportName() const
 {
-    if(wxTheApp)
-        return wxTheApp->GetAppDisplayName();
+    if ( wxTheApp )
+        return wxTheApp->GetAppName();
 
     return wxT("wx");
 }