]> git.saurik.com Git - wxWidgets.git/commitdiff
warning fix
authorRyan Norton <wxprojects@comcast.net>
Sat, 25 Sep 2004 00:12:28 +0000 (00:12 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sat, 25 Sep 2004 00:12:28 +0000 (00:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index d3823ead815d958aeee1071ba08656eaad8d587c..77f765e2d216ce62b8b800a243c4f1514c605da3 100644 (file)
@@ -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);