]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xlocale.cpp
fix typos and update MSW code to use new wxPENSTYLE_* enum values
[wxWidgets.git] / src / common / xlocale.cpp
index e72fd843a058b91396770b96254a16caf0fc1042..6adb86b8d996cb5a4baf1e5bbd8c451c81d3cf51 100644 (file)
@@ -88,11 +88,7 @@ wxXLocale::wxXLocale(wxLanguage lang)
     }
     else
     {
-#ifdef __WXMSW__
-        Init(info->Description);
-#else
-        Init(info->CanonicalName);
-#endif
+        Init(info->GetLocaleName().c_str());
     }
 }