using lang param, to have a CFLanguage be consistent with C-Locale

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-01-04 06:45:27 +00:00
parent 1996c23f8c
commit b51daa4f6c

View 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;