From: Ryan Norton Date: Sat, 25 Sep 2004 00:12:28 +0000 (+0000) Subject: warning fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1cc549e58c75763c9f861be71c93be5fd68bd04e warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/intl.cpp b/src/common/intl.cpp index d3823ead81..77f765e2d2 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1479,7 +1479,7 @@ bool wxLocale::Init(const wxChar *szName, } -#if defined(__UNIX__) && wxUSE_UNICODE +#if defined(__UNIX__) && wxUSE_UNICODE && !defined(__WXMAC__) static wxWCharBuffer wxSetlocaleTryUTF(int c, const wxChar *lc) { wxMB2WXbuf l = wxSetlocale(c, lc);