1///////////////////////////////////////////////////////////////////////////////
2// Name:        wx/msw/wince/chkconf.h
3// Purpose:     WinCE-specific configuration options checks
4// Author:      Vadim Zeitlin
5// Modified by:
6// Created:     2005-03-07
7// RCS-ID:      $Id: chkconf.h 55651 2008-09-16 08:03:55Z VZ $
8// Copyright:   (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
9// Licence:     wxWindows licence
10///////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_MSW_WINCE_CHKCONF_H_
13#define _WX_MSW_WINCE_CHKCONF_H_
14
15// Standard SDK lacks a few things, forcefully disable them
16#ifdef WCE_PLATFORM_STANDARDSDK
17    // no shell functions support
18    #undef wxUSE_STDPATHS
19    #define wxUSE_STDPATHS 0
20#endif // WCE_PLATFORM_STANDARDSDK
21
22#if _WIN32_WCE < 400
23    // not enough API and lack of ddraw.h
24    #undef wxUSE_DISPLAY
25    #define wxUSE_DISPLAY 0
26#endif
27
28// DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
29#undef wxUSE_IPC
30#define wxUSE_IPC 0
31
32// no AUI under CE: it's unnecessary and currently doesn't compile
33#undef wxUSE_AUI
34#define wxUSE_AUI 0
35
36// no MDI under CE
37#undef wxUSE_MDI
38#define wxUSE_MDI 0
39#undef wxUSE_MDI_ARCHITECTURE
40#define wxUSE_MDI_ARCHITECTURE 0
41
42// metafiles are not supported neither
43#undef wxUSE_ENH_METAFILE
44#define wxUSE_ENH_METAFILE 0
45
46#undef wxUSE_METAFILE
47#define wxUSE_METAFILE 0
48
49// eVC doesn't support SEH
50#undef wxUSE_ON_FATAL_EXCEPTION
51#define wxUSE_ON_FATAL_EXCEPTION 0
52
53#undef wxUSE_WXHTML_HELP
54#define wxUSE_WXHTML_HELP 0
55
56// libtiff and regex apparently don't compile with eVC (to check with eVC4?)
57// and they're disabled for WinCE in build/bakefiles/{tiff|regex}.bkl so can't
58// be enabled here
59#undef wxUSE_LIBTIFF
60#define wxUSE_LIBTIFF 0
61
62#undef wxUSE_REGEX
63#define wxUSE_REGEX 0
64
65#undef wxUSE_DEBUGREPORT
66#define wxUSE_DEBUGREPORT 0
67
68// other MSW settings not supported by CE
69#undef wxUSE_RICHEDIT
70#define wxUSE_RICHEDIT 0
71#undef wxUSE_RICHEDIT2
72#define wxUSE_RICHEDIT2 0
73
74#undef wxUSE_UXTHEME
75#define wxUSE_UXTHEME 0
76#undef wxUSE_UXTHEME_AUTO
77#define wxUSE_UXTHEME_AUTO 0
78
79#undef wxUSE_UNICODE_MSLU
80#define wxUSE_UNICODE_MSLU 0
81
82
83// Disable features which don't make sense for MS Smartphones
84// (due to pointer device usage, limited controls or dialogs, file system)
85#if defined(__SMARTPHONE__)
86    #undef wxUSE_LISTBOOK
87    #define wxUSE_LISTBOOK 0
88
89    #undef wxUSE_NOTEBOOK
90    #define wxUSE_NOTEBOOK 0
91
92    #undef wxUSE_STATUSBAR
93    #define wxUSE_STATUSBAR 0
94
95    #undef wxUSE_COLOURPICKERCTRL
96    #define wxUSE_COLOURPICKERCTRL 0
97#endif // __SMARTPHONE__
98
99#endif // _WX_MSW_WINCE_CHKCONF_H_
100
101