Tweak the default wxApp::GetAppDisplayName() logic.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Sep 2009 11:38:31 +0000 (11:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 3 Sep 2009 11:38:31 +0000 (11:38 +0000)
commitf432e6777dbd45c868c411397010d9f315687de3
tree1dd96343469e33592a57bae752bd19ab0cd2f5d0
parent558e196cced8f085001620620882240e2a41ddc5
Tweak the default wxApp::GetAppDisplayName() logic.

Don't capitalize the app name if it had been explicitly set with SetAppName()
as this can result in unexpectedly wrong value. Do capitalize the program name
which is used as app name by default and don't store the program name in
m_appName to be able to distinguish between the two cases.

Closes #11165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/app.h
interface/wx/app.h
src/common/appbase.cpp