X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..99006e446eb2156fe1c61e69926248901e399547:/include/wx/intl.h diff --git a/include/wx/intl.h b/include/wx/intl.h index d73b1dcbcf..2c7023bb01 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -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