#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
#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