added wxLocale::FindLanguageInfo()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-02-04 16:43:10 +00:00
parent 677a9e28b5
commit 9d1e1be463
3 changed files with 60 additions and 1 deletions

View File

@@ -395,6 +395,22 @@ struct WXDLLEXPORT wxLanguageInfo
\perlnote{In wxPerl Wx::LanguageInfo has only one method:\par
Wx::LanguageInfo->new( language, canonicalName, WinLang, WinSubLang, Description )}
\membersection{wxLocale::FindLanguageInfo}{wxlocalefindlanguageinfo}
\constfunc{static wxLanguageInfo *}{FindLanguageInfo}{\param{const wxString\& }{locale}}
This function may be used to find the language description structure for the
given locale, specified either as a two letter ISO language code (for example,
"pt"), a language code followed by the country code ("pt\_BR") or a full, human
readable, language description ("Portuguese-Brazil").
Returns the information for 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.
\wxheading{See also}
\helpref{GetLanguageInfo}{wxlocalegetlanguageinfo}
\membersection{wxLocale::GetCanonicalName}\label{wxlocalegetcanonicalname}