]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xlocale.cpp
Revised #ifndef WX_PRECOMP headers, added missing #include wx/wxcrtvararg.h
[wxWidgets.git] / src / common / xlocale.cpp
index 14c7a5b35c92cd64280648b18c87742c2f0b6162..6adb86b8d996cb5a4baf1e5bbd8c451c81d3cf51 100644 (file)
@@ -88,7 +88,7 @@ wxXLocale::wxXLocale(wxLanguage lang)
     }
     else
     {
-        Init(info->CanonicalName);
+        Init(info->GetLocaleName().c_str());
     }
 }