X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d08179a70c8b1dc5995db9244f50927b8f530d1..f41bc3e3f3fda37fba548440b230288c5eed0953:/include/wx/intl.h diff --git a/include/wx/intl.h b/include/wx/intl.h index 98c4771f71..879f26be45 100644 --- a/include/wx/intl.h +++ b/include/wx/intl.h @@ -465,8 +465,8 @@ public: // // domains are searched in the last to first order, i.e. catalogs // added later override those added before. - const wxMB2WXbuf GetString(const wxChar *szOrigString, - const wxChar *szDomain = (const wxChar *) NULL) const; + const wxChar *GetString(const wxChar *szOrigString, + const wxChar *szDomain = (const wxChar *) NULL) const; // Returns the current short name for the locale const wxString& GetName() const { return m_strShort; } @@ -507,13 +507,13 @@ private: extern WXDLLEXPORT wxLocale* wxGetLocale(); // get the translation of the string in the current locale -inline const wxMB2WXbuf wxGetTranslation(const wxChar *sz) +inline const wxChar *wxGetTranslation(const wxChar *sz) { wxLocale *pLoc = wxGetLocale(); if (pLoc) return pLoc->GetString(sz); else - return (const wxMB2WXbuf)sz; + return sz; } #else // !wxUSE_INTL