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:
parent
eb0751b147
commit
067fd8b47e
1 changed files with 5 additions and 2 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue