X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6679eeeb9b85a3953e7a73efec7950a90b629678..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/aboutdlg.h?ds=sidebyside diff --git a/include/wx/aboutdlg.h b/include/wx/aboutdlg.h index cc93b7f091..9c8946d193 100644 --- a/include/wx/aboutdlg.h +++ b/include/wx/aboutdlg.h @@ -31,10 +31,10 @@ public: // accessors for various simply fields // ----------------------------------- - // name of the program, if not used defaults wxApp::GetAppName() + // name of the program, if not used defaults to wxApp::GetAppDisplayName() void SetName(const wxString& name) { m_name = name; } wxString GetName() const - { return m_name.empty() ? wxTheApp->GetAppName() : m_name; } + { return m_name.empty() ? wxTheApp->GetAppDisplayName() : m_name; } // version of the program, in free format (but without "version" word) void SetVersion(const wxString& version) { m_version = version; }