X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7df93c2deb42494074cebcbc39734e94cac74461..7d5848668df9cd29d08c81b43ff459da946a21e4:/include/wx/intl.h diff --git a/include/wx/intl.h b/include/wx/intl.h index aaae8d3e25..7d92024a86 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -455,6 +455,10 @@ public: // Returns NULL if no info found, pointer must *not* be deleted by caller static const wxLanguageInfo *GetLanguageInfo(int lang); + // Returns language name in English or empty string if the language + // is not in database + static wxString GetLanguageName(int lang); + // Find the language for the given locale string which may be either a // canonical ISO 2 letter language code ("xx"), a language code followed by // the country code ("xx_XX") or a Windows full language name ("Xxxxx...")