]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xlocale.cpp
remove duplicate wxTaskBarIconAreaBase::DoPopupMenu, extracting the one-line differen...
[wxWidgets.git] / src / common / xlocale.cpp
index 24d1a3f443e61ca9752c667b9083e82872dbacf6..6adb86b8d996cb5a4baf1e5bbd8c451c81d3cf51 100644 (file)
@@ -88,14 +88,7 @@ wxXLocale::wxXLocale(wxLanguage lang)
     }
     else
     {
-        wxString loc;
-#ifdef __WXMSW__
-        loc = info->Description;
-#else
-        loc = info->CanonicalName;
-#endif
-
-        Init(loc.c_str());
+        Init(info->GetLocaleName().c_str());
     }
 }