diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index e4ca8641b5..5138801aa3 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -580,9 +580,9 @@ typedef struct { #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