X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6040c9de7421d2c7770d7f54687a2413be5a79d1..f001799009630c46bc87aff5a84dbd2523005505:/include/wx/wxprec.h diff --git a/include/wx/wxprec.h b/include/wx/wxprec.h index e4f29ad5b4..f8f2e432bc 100644 --- a/include/wx/wxprec.h +++ b/include/wx/wxprec.h @@ -27,8 +27,16 @@ #ifdef WX_PRECOMP +// include first to ensure that UNICODE macro is correctly set +// _before_ including +#include "wx/wxchar.h" + // include standard Windows headers #if defined(__WXMSW__) && !wxUSE_MFC + #ifndef STRICT + #define STRICT 1 + #endif + #include #include "wx/msw/winundef.h" #endif