diff --git a/include/wx/intl.h b/include/wx/intl.h index 98377b7635..4b7614e7b1 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -270,6 +270,7 @@ private: m_strShort; // short name for the locale int m_language; // this locale wxLanguage value + wxString m_oldUILocale; // previous wxUILocale name const char *m_pszOldLocale; // previous locale from setlocale() wxLocale *m_pOldLocale; // previous wxLocale #ifdef __WIN32__ diff --git a/include/wx/localedefs.h b/include/wx/localedefs.h index ed3f8bfc74..1f09ee7576 100644 --- a/include/wx/localedefs.h +++ b/include/wx/localedefs.h @@ -32,6 +32,31 @@ enum wxLayoutDirection // wxLocaleCategory: the category of locale settings // ---------------------------------------------------------------------------- +enum wxLocaleTagType +{ + // Default (tag as given or else same as wxLOCALE_TAGTYPE_SYSTEM) + wxLOCALE_TAGTYPE_DEFAULT, + + // Default type of the system (platform-dependent) + wxLOCALE_TAGTYPE_SYSTEM, + + // BCP47-like type: [-