#ifndef _WX_PRIVATE_H_
#define _WX_PRIVATE_H_
-#ifndef STRICT
- #define STRICT 1
-#endif
-
-#include <windows.h>
-
+#include "wx/msw/wrapwin.h"
#if defined (__WXWINCE__)
#include <wingdi.h> // RGB, COLORREF
+ #define ERRFALSE(x)
#include <winuser.h> // Global Namespaces ::GetKeyState, ::GetWindowRect
+ #include "wx/msw/winundef.h"
#endif
#include "wx/msw/microwin.h"
#endif
-// undefine conflicting symbols which were defined in windows.h
-#include "wx/msw/winundef.h"
-
// Include fixes for MSLU:
#include "wx/msw/mslu.h"
#define CASTWNDPROC (WndProcCast)
+
+
// ---------------------------------------------------------------------------
// some stuff for old Windows versions (FIXME: what does it do here??)
// ---------------------------------------------------------------------------
#ifdef __WXWINCE__
#include <winbase.h>
+#if _WIN32_WCE <= 211
#define GlobalAlloc LocalAlloc
#define GlobalFree LocalFree
#define GlobalLock(mem) mem
#define GHND LPTR
#define GMEM_MOVEABLE 0
#define GMEM_SHARE 0
+#endif
#if 0