X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..c7d4ca810570664b68f7a4f0f11d2a5a64aa6163:/interface/wx/app.h diff --git a/interface/wx/app.h b/interface/wx/app.h index cf79e46a12..4fea75c14b 100644 --- a/interface/wx/app.h +++ b/interface/wx/app.h @@ -9,7 +9,6 @@ /** @class wxAppConsole - @wxheader{app.h} This class is essential for writing console-only or hybrid apps without having to define wxUSE_GUI=0. @@ -77,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 */ @@ -107,7 +107,7 @@ public: /** Returns the one and only global application object. - Usually ::wxTheApp is usead instead. + Usually wxTheApp is used instead. @see SetInstance() */ @@ -371,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); @@ -472,7 +477,6 @@ public: /** @class wxApp - @wxheader{app.h} The wxApp class represents the application itself. It is used to: