X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/563d535e46e7516fd4e2334203dbe910398bfd88..99ab3e3f56ab43fe1127eb565cad1a619cad0499:/include/wx/intl.h?ds=sidebyside diff --git a/include/wx/intl.h b/include/wx/intl.h index 879f26be45..2c7023bb01 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -12,7 +12,7 @@ #ifndef _WX_INTL_H_ #define _WX_INTL_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "intl.h" #endif @@ -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