// Misc stuff
// ----------------------------------------------------------------------------
+#ifndef CCM_SETUNICODEFORMAT
+ #define CCM_SETUNICODEFORMAT 8197
+#endif
+
#ifndef QS_ALLPOSTMESSAGE
#define QS_ALLPOSTMESSAGE 0x0100
#endif
#define WC_NO_BEST_FIT_CHARS 0x400
#endif
-// Not in WinCE
-#ifndef HGDI_ERROR
-#define HGDI_ERROR ((HANDLE)(0xFFFFFFFFL))
+// In addition, include stuff not defined in WinCE
+#ifdef __WXWINCE__
+ #include "wx/msw/wince/missing.h"
#endif
#endif