diff --git a/include/wx/msw/wince/chkconf.h b/include/wx/msw/wince/chkconf.h index 87315e9e3b..e49897df72 100644 --- a/include/wx/msw/wince/chkconf.h +++ b/include/wx/msw/wince/chkconf.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: wx/wince/chkconf.h +// Name: wx/msw/wince/chkconf.h // Purpose: WinCE-specific configuration options checks // Author: Vadim Zeitlin // Modified by: @@ -19,6 +19,12 @@ #define wxUSE_STDPATHS 0 #endif // WCE_PLATFORM_STANDARDSDK +#if _WIN32_WCE < 400 + // not enough API and lack of ddraw.h + #undef wxUSE_DISPLAY + #define wxUSE_DISPLAY 0 +#endif + // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW #undef wxUSE_IPC #define wxUSE_IPC 0