X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6040c9de7421d2c7770d7f54687a2413be5a79d1..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/include/wx/wxprec.h?ds=sidebyside 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