Merge branch 'msw-locale'

Fixes for setting locale under MSW when using older compilers and minor
simplifications and optimizations in wxLocale code.

See https://github.com/wxWidgets/wxWidgets/pull/517
This commit is contained in:
Vadim Zeitlin
2017-07-16 15:03:48 +02:00
3 changed files with 166 additions and 143 deletions

View File

@@ -55,8 +55,13 @@ struct wxLanguageInfo
/// @onlyfor{wxmsw}
wxUint32 GetLCID() const;
/// Return the locale name corresponding to this language usable with
/// @c setlocale() on the current system.
/**
Return the locale name corresponding to this language usable with
@c setlocale() on the current system.
If setting locale for this language is not supported, the returned
string is empty.
*/
wxString GetLocaleName() const;
};