X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b7f3e3023c1885ec181169fe424b00fc0220270..53f6aab75294c585e53e02b618a09dcb1dd97fb8:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 83fac1f03b..9c7a2e30b7 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -60,6 +60,10 @@ #include "wx/fontmap.h" // for CharsetToEncoding() #endif +#if defined(__WXMAC__) + #include "wx/mac/private.h" // includes mac headers +#endif + // ---------------------------------------------------------------------------- // simple types // ---------------------------------------------------------------------------- @@ -1364,11 +1368,7 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString, const wxChar *szDomain) const { if ( wxIsEmpty(szOrigString) ) -#if wxUSE_UNICODE - return szDomain ? szDomain : wxT(""); -#else // ANSI - return szDomain; -#endif + return _T(""); const char *pszTrans = NULL; #if wxUSE_UNICODE