X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/db9febdf4171fdb57434e080f77dca8a02be1cca..59953bf4ba167311fb0cd2c2c0f3d5d0475b98c8:/include/wx/apptrait.h?ds=sidebyside diff --git a/include/wx/apptrait.h b/include/wx/apptrait.h index 1513596cc7..c2ad503e72 100644 --- a/include/wx/apptrait.h +++ b/include/wx/apptrait.h @@ -40,7 +40,7 @@ public: // needed since this class declares virtual members virtual ~wxAppTraitsBase() { } - // hooks for creating the global objects, may be overridden by the user + // hooks for working with the global objects, may be overridden by the user // ------------------------------------------------------------------------ #if wxUSE_LOG @@ -69,6 +69,13 @@ public: virtual wxStandardPathsBase& GetStandardPaths(); #endif // wxUSE_STDPATHS +#if wxUSE_INTL + // called during wxApp initialization to set the locale to correspond to + // the user default (i.e. system locale under Windows, LC_ALL under Unix) + virtual void SetLocale(); +#endif // wxUSE_INTL + + // functions abstracting differences between GUI and console modes // ------------------------------------------------------------------------ @@ -110,6 +117,10 @@ public: virtual GSocketGUIFunctionsTable* GetSocketGUIFunctionsTable() = 0; #endif + + // functions returning port-specific information + // ------------------------------------------------------------------------ + // return information about the (native) toolkit currently used and its // runtime (not compile-time) version. // returns wxPORT_BASE for console applications and one of the remaining