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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user