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:
@@ -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
|
||||
|
Reference in New Issue
Block a user