X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..2a8312bced9d3f3415383a79a15cad2acf447b7e:/interface/wx/app.h diff --git a/interface/wx/app.h b/interface/wx/app.h index 8316c30e75..4fea75c14b 100644 --- a/interface/wx/app.h +++ b/interface/wx/app.h @@ -76,11 +76,12 @@ public: /** Returns the user-readable application name. - The difference between this string and the one returned by GetAppName() 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 GetAppName(). + The difference between this string and the one returned by GetAppName() + 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 application name as + returned by GetAppName() capitalized using wxString::Capitalize(). @since 2.9.0 */ @@ -106,7 +107,7 @@ public: /** Returns the one and only global application object. - Usually ::wxTheApp is usead instead. + Usually wxTheApp is used instead. @see SetInstance() */ @@ -370,9 +371,14 @@ public: virtual bool Pending(); /** - Set the application name to be used in the user-visible places such as window - titles. See GetAppDisplayName() for more about the differences between the + Set the application name to be used in the user-visible places such as + window titles. + + See GetAppDisplayName() for more about the differences between the display name and name. + + Notice that if this function is called, the name is used as is, without + any capitalization as done by default by GetAppDisplayName(). */ void SetAppDisplayName(const wxString& name);