X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96b2cbe8b39292fed91654ff0d1f4b1c16561acb..7802da36fa043e7fdc162a70e97821754a2f2f14:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index ef542febc3..ccba2765a0 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -131,8 +131,10 @@ public: // so the app name could be myapp while display name could be "My App" wxString GetAppDisplayName() const { - return m_appDisplayName.empty() ? GetAppName() : m_appDisplayName; + return m_appDisplayName.empty() ? GetAppName().Capitalize() + : m_appDisplayName; } + void SetAppDisplayName(const wxString& name) { m_appDisplayName = name; } // set/get the app class name