compilation fix for wxUSE_STL==1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-11 14:22:04 +00:00
parent eb0751b147
commit 067fd8b47e

View File

@@ -88,11 +88,14 @@ wxXLocale::wxXLocale(wxLanguage lang)
}
else
{
wxString loc;
#ifdef __WXMSW__
Init(info->Description);
loc = info->Description;
#else
Init(info->CanonicalName);
loc = info->CanonicalName;
#endif
Init(loc.c_str());
}
}