added wxLocale::GetLanguageInfo()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-09-07 22:53:04 +00:00
parent 27813df1f7
commit 14f8fa9d7f
3 changed files with 37 additions and 17 deletions

View File

@@ -450,6 +450,11 @@ public:
// check if the given catalog is loaded
bool IsLoaded(const wxChar *szDomain) const;
// Retrieve the language info struct for the given language
//
// Returns NULL if no info found, pointer must *not* be deleted by caller
static const wxLanguageInfo *GetLanguageInfo(int lang);
// Add custom language to the list of known languages.
// Notes: 1) wxLanguageInfo contains platform-specific data
// 2) must be called before Init to have effect