X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6040c9de7421d2c7770d7f54687a2413be5a79d1..bf7d7ee7062f7f6028df40e43745235658e38b4d:/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