projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed license type
[wxWidgets.git]
/
include
/
wx
/
wxprec.h
diff --git
a/include/wx/wxprec.h
b/include/wx/wxprec.h
index e4f29ad5b41aa8f1504e26d903b69988c9622392..0bfccf8d0dc86c1ab673e771f7f643bd3926e2b9 100644
(file)
--- a/
include/wx/wxprec.h
+++ b/
include/wx/wxprec.h
@@
-27,6
+27,10
@@
#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>