X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae71a6e8902557373282bed9395bf3e1c1e546cb..a30c309aa84b756a10c6d7855b8012820d920ee5:/docs/latex/wx/locale.tex diff --git a/docs/latex/wx/locale.tex b/docs/latex/wx/locale.tex index 1450bffe11..fe0dc4deb2 100644 --- a/docs/latex/wx/locale.tex +++ b/docs/latex/wx/locale.tex @@ -45,7 +45,8 @@ No base class \wxheading{See also} -\helpref{I18n overview}{internationalization} +\helpref{Internationalization overview}{internationalization},\\ +\helpref{Internat sample}{sampleinternat} \wxheading{Include files} @@ -370,7 +371,7 @@ This only applies to subsequent invocations of AddCatalog()! \func{static void}{AddLanguage}{\param{const wxLanguageInfo\& }{info}} Adds custom, user-defined language to the database of known languages. This -database is used in conjuction with the first form of +database is used in conjunction with the first form of \helpref{Init}{wxlocaleinit}. wxLanguageInfo is defined as follows: @@ -418,6 +419,17 @@ Returns \helpref{wxLanguage}{wxlanguage} constant of current language. Note that you can call this function only if you used the form of \helpref{Init}{wxlocaleinit} that takes wxLanguage argument. +\membersection{wxLocale::GetLanguageInfo}\label{wxlocalegetlanguageinfo} + +\constfunc{static wxLanguageInfo *}{GetLanguageInfo}{\param{int }{lang}} + +Returns a pointer to wxLanguageInfo structure containing information about the +given language or {\tt NULL} if this language is unknown. Note that even if the +returned pointer is valid, the caller should {\it not} delete it. + +See \helpref{AddLanguage}{wxlocaleaddlanguage} for the wxLanguageInfo +description. + \membersection{wxLocale::GetLocale}\label{wxlocalegetlocale}