added vendor display name (for consistency with app display name &c) (patch 1831303)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-17 14:45:53 +00:00
parent 82c6387837
commit 180b5b4827
2 changed files with 38 additions and 1 deletions

View File

@@ -236,6 +236,21 @@ different visuals, false otherwise.
\helpref{SetUseBestVisual}{wxappsetusebestvisual}
\membersection{wxApp::GetVendorDisplayName}\label{wxappgetvendordisplayname}
\constfunc{wxString}{GetVendorDisplayName}{\void}
Returns the user-readable vendor name. The difference between this string
and the one returned by \helpref{GetVendorName}{wxappgetvendorname} is that this one
is meant to be shown to the user and so should be used for the window titles,
page headers and so on while the other one should be only used internally, e.g.
for the file names or configuration file keys.
By default, returns the same string as \helpref{GetVendorName}{wxappgetvendorname}.
\newsince{2.9.0}
\membersection{wxApp::GetVendorName}\label{wxappgetvendorname}
\constfunc{wxString}{GetVendorName}{\void}
@@ -697,6 +712,14 @@ needs to use the top window.
\helpref{wxApp::GetTopWindow}{wxappgettopwindow}, \helpref{wxApp::OnInit}{wxapponinit}
\membersection{wxApp::SetVendorDisplayName}\label{wxappsetvendordisplayname}
\func{void}{SetVendorDisplayName}{\param{const wxString\& }{name}}
Set the vendor name to be used in the user-visible places. See
\helpref{GetVendorDisplayName}{wxappgetvendordisplayname} for more about
the differences between the display name and name.
\membersection{wxApp::SetVendorName}\label{wxappsetvendorname}