X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89a7e1ff98e58687eef2bf8ec94bf7190208167f..73c997ba7ba115302cf1b1e75bb467e26c89d599:/interface/wx/intl.h diff --git a/interface/wx/intl.h b/interface/wx/intl.h index 1086277d2c..b0e0567fcb 100644 --- a/interface/wx/intl.h +++ b/interface/wx/intl.h @@ -17,7 +17,7 @@ */ enum wxLanguage { - /// User's default/preferred language as got from OS. + /// User's default/preffered language as got from OS. wxLANGUAGE_DEFAULT, /// Unknown language, returned if wxLocale::GetSystemLanguage fails. @@ -48,6 +48,7 @@ enum wxLanguage wxLANGUAGE_ARABIC_YEMEN, wxLANGUAGE_ARMENIAN, wxLANGUAGE_ASSAMESE, + wxLANGUAGE_ASTURIAN, wxLANGUAGE_AYMARA, wxLANGUAGE_AZERI, wxLANGUAGE_AZERI_CYRILLIC, @@ -277,6 +278,11 @@ enum wxLayoutDirection /** Encapsulates a ::wxLanguage indentifier together with OS-specific information related to that language. + + @beginWxPerlOnly + In wxPerl @c Wx::LanguageInfo has only one method: + - Wx::LanguageInfo->new(language, canonicalName, WinLang, WinSubLang, Description) + @endWxPerlOnly */ struct WXDLLIMPEXP_BASE wxLanguageInfo { @@ -345,6 +351,16 @@ enum wxLocaleCategory /** The values understood by wxLocale::GetInfo(). + + Note that for the @c wxLOCALE_*_FMT constants (the date and time formats), + the strings returned by wxLocale::GetInfo() use strftime() or, + equivalently, wxDateTime::Format() format. If the relevant format + couldn't be determined, an empty string is returned -- there is no + fallback value so that the application could determine the best course + of actions itself in such case. + + All of these values are used with @c wxLOCALE_CAT_DATE in wxLocale::GetInfo() or, + more typically, with @c wxLOCALE_CAT_DEFAULT as they only apply to a single category. */ enum wxLocaleInfo { @@ -364,27 +380,11 @@ enum wxLocaleInfo */ wxLOCALE_DECIMAL_POINT, - /** - The date and time formats. - - The strings returned by wxLocale::GetInfo() use strftime() or, - equivalently, wxDateTime::Format() format. If the relevant format - couldn't be determined, an empty string is returned -- there is no - fallback value so that the application could determine the best course - of actions itself in such case. - - All of these values are used with wxLOCALE_CAT_DATE in - wxLocale::GetInfo() or, more typically, with wxLOCALE_CAT_DEFAULT as - they only apply to a single category. - */ - //@{ - /** Short date format. Notice that short and long date formats may be the same under POSIX - systems currently but may, and typically are, different under MSW or OS - X. + systems currently but may, and typically are, different under MSW or OS X. @since 2.9.0 */ @@ -410,8 +410,6 @@ enum wxLocaleInfo @since 2.9.0 */ wxLOCALE_TIME_FMT - - //@} };