- ~wxLocale();
-
- // Try to get user's (or OS's) prefered language setting.
- // Return wxLanguage value or wxLANGUAGE_UNKNOWN if language-guessing
- // algorithm failed
- int GetSystemLanguage() const;
-
- // return TRUE if the locale was set successfully
+ virtual ~wxLocale();
+
+ // Try to get user's (or OS's) preferred language setting.
+ // Return wxLANGUAGE_UNKNOWN if language-guessing algorithm failed
+ static int GetSystemLanguage();
+
+ // get the encoding used by default for text on this system, returns
+ // wxFONTENCODING_SYSTEM if it couldn't be determined
+ static wxFontEncoding GetSystemEncoding();
+
+ // get the string describing the system encoding, return empty string if
+ // couldn't be determined
+ static wxString GetSystemEncodingName();
+
+ // get the values of the given locale-dependent datum: the current locale
+ // is used, the US default value is returned if everything else fails
+ static wxString GetInfo(wxLocaleInfo index, wxLocaleCategory cat);
+
+ // return true if the locale was set successfully