#ifdef WX_PRECOMP
+// include <wx/wxchar.h> first to ensure that UNICODE macro is correctly set
+// _before_ including <windows.h>
+#include "wx/wxchar.h"
+
// include standard Windows headers
#if defined(__WXMSW__) && !wxUSE_MFC
+ #ifndef STRICT
+ #define STRICT 1
+ #endif
+
#include <windows.h>
#include "wx/msw/winundef.h"
#endif