]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapwin.h
* Made GSocket::GetError() exp/imp from net library and provide an inline
[wxWidgets.git] / include / wx / msw / wrapwin.h
index b88fde9331956159c7689b279dbf6a747eefabdf..04b9d59ed33c19295b98b34b555359e890dd452a 100644 (file)
 #endif
 
 #include <windows.h>
+
+#ifdef __WXWINCE__
+    // this doesn't make any sense knowing that windows.h includes all these
+    // headers anyhow, but the fact remains that when building using eVC 4 the
+    // functions and constants from these headers are not defined unless we
+    // explicitly include them ourselves -- how is it possible is beyond me...
+    #include <winbase.h>
+    #include <wingdi.h>
+    #include <winuser.h>
+
+    // this one OTOH contains many useful CE-only functions
+    #include <shellapi.h>
+#endif // __WXWINCE__
+
 #include "wx/msw/winundef.h"
 
 // types DWORD_PTR, ULONG_PTR and so on might be not defined in old headers but