capitalize the application name in GetAppDisplayName() by default; this results in logging message appearance consistent with wx 2.8 and generally looks better

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-08-01 23:47:22 +00:00
parent 0c7db140c5
commit 328fafa1db
2 changed files with 16 additions and 8 deletions

View File

@@ -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