wxWidgets/include
Vadim Zeitlin 8cb4e70064 Refactor wxLocale initialization code
Don't call wxSetlocale() in DoInit() any more, this was redundant when
it was called from Init(wxLanguage) overload.

Add new DoCommonPostInit() called from both Init() overloads after
setting the locale in whichever way they do it to avoid code
duplication.

As a side effect of this change, the error message given if the locale
can't be set is the same now independently of the ctor/Init() overload
used (previously it differed depending on whether a wxLanguage or the
name of the language as string was passed) and it's always logged using
wxLogWarning() and not it in one case and wxLogError() in the other one.
2017-07-16 15:03:22 +02:00
..
msvc/wx Add Microsoft Visual Studio 2017 solution file for building wxMSW 2017-01-16 17:02:10 +01:00
wx Refactor wxLocale initialization code 2017-07-16 15:03:22 +02:00