]> git.saurik.com Git - wxWidgets.git/commitdiff
using lang param, to have a CFLanguage be consistent with C-Locale
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jan 2005 06:45:27 +0000 (06:45 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jan 2005 06:45:27 +0000 (06:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index d1196aa6fbb6ca15477c2360d99720b2314f6c1a..d9dd83410c281da1dd30ce16a8ef2ba8c12c72ff 100644 (file)
@@ -1686,7 +1686,7 @@ bool wxLocale::Init(int language, int flags)
         return false;
     }
 #elif defined(__WXMAC__)
-    if (language == wxLANGUAGE_DEFAULT)
+    if (lang == wxLANGUAGE_DEFAULT)
         locale = wxEmptyString;
     else
         locale = info->CanonicalName;