Fix MinGW and VC8 compilation error

3a8ad952 introduced compilation failures with (some versions of) MinGW
and VC8 because their winnls.h apparently doesn't declare
SetThreadUILanguage(). Just declare the function ourselves to fix it.
This commit is contained in:
Vaclav Slavik 2015-06-12 19:47:36 +02:00
parent 6037ce0e6f
commit 09e1fbef70

View File

@ -50,6 +50,8 @@
#ifdef __WIN32__
#include "wx/msw/private.h"
// Some compilers' winnls.h header doesn't declare this function:
extern "C" WINBASEAPI LANGID WINAPI SetThreadUILanguage(LANGID LangId);
#endif
#include "wx/file.h"