fixed wxXLocale(wxLanguage) ctor under Windows, use it instead of ctor from locale string in the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -88,7 +88,11 @@ wxXLocale::wxXLocale(wxLanguage lang)
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef __WXMSW__
|
||||
Init(info->Description);
|
||||
#else
|
||||
Init(info->CanonicalName);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user