]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxprec.h
Added some missing tests; replaced scrolwin.cpp with scrlwng.cpp
[wxWidgets.git] / include / wx / wxprec.h
index e4f29ad5b41aa8f1504e26d903b69988c9622392..0bfccf8d0dc86c1ab673e771f7f643bd3926e2b9 100644 (file)
 
 #ifdef WX_PRECOMP
 
 
 #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
     #include <windows.h>
 // include standard Windows headers
 #if defined(__WXMSW__) && !wxUSE_MFC
     #include <windows.h>