]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
Use wxTRANSPARENT_BRUSH so the rectangles around the text is not
[wxWidgets.git] / 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;