]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wince/chkconf.h
make IsOk() virtual to allow it to be overridden in e.g. wxEnhMetaFile (replaces...
[wxWidgets.git] / include / wx / msw / wince / chkconf.h
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$
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 // ----------------------------------------------------------------------------
16 // Disable features which don't work or don't make sense under CE
17 // ----------------------------------------------------------------------------
18
19 // please keep the list in alphabetic order except for closely related settings
20 // (e.g. wxUSE_ENH_METAFILE is put immediately after wxUSE_METAFILE)
21
22 #undef wxUSE_DEBUGREPORT
23 #define wxUSE_DEBUGREPORT 0
24
25 #if _WIN32_WCE < 400
26 // not enough API and lack of ddraw.h
27 #undef wxUSE_DISPLAY
28 #define wxUSE_DISPLAY 0
29 #endif
30
31 // wxFSVolume currently doesn't compile under CE and it's not clear if it makes
32 // sense at all there (the drives and their names are fixed on CE systems)
33 #undef wxUSE_FSVOLUME
34 #define wxUSE_FSVOLUME 0
35
36 // no .INI files API under CE
37 #undef wxUSE_INICONF
38 #define wxUSE_INICONF 0
39
40 // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
41 #undef wxUSE_IPC
42 #define wxUSE_IPC 0
43
44 // doesn't make sense for CE devices and doesn't compile anyhow
45 #undef wxUSE_JOYSTICK
46 #define wxUSE_JOYSTICK 0
47
48 // and they're disabled for WinCE in build/bakefiles/{tiff|regex}.bkl so can't
49 // be enabled here
50 #undef wxUSE_LIBTIFF
51 #define wxUSE_LIBTIFF 0
52
53 // no MDI under CE
54 #undef wxUSE_MDI
55 #define wxUSE_MDI 0
56 #undef wxUSE_MDI_ARCHITECTURE
57 #define wxUSE_MDI_ARCHITECTURE 0
58
59 // metafiles are not supported neither
60 #undef wxUSE_METAFILE
61 #define wxUSE_METAFILE 0
62 #undef wxUSE_ENH_METAFILE
63 #define wxUSE_ENH_METAFILE 0
64
65 // not sure if this is supported by CE but it doesn't compile currently anyhow
66 #undef wxUSE_MS_HTML_HELP
67 #define wxUSE_MS_HTML_HELP 0
68
69 // eVC doesn't support SEH
70 #undef wxUSE_ON_FATAL_EXCEPTION
71 #define wxUSE_ON_FATAL_EXCEPTION 0
72
73 // no owner drawn controls (not sure if this is possible at all but in any case
74 // the code doesn't currently compile)
75 #undef wxUSE_OWNER_DRAWN
76 #define wxUSE_OWNER_DRAWN 0
77
78 // libtiff and regex apparently don't compile with eVC (to check with eVC4?)
79 // other MSW settings not supported by CE
80 #undef wxUSE_PRINTING_ARCHITECTURE
81 #define wxUSE_PRINTING_ARCHITECTURE 0
82
83 #undef wxUSE_REGEX
84 #define wxUSE_REGEX 0
85
86 #undef wxUSE_RICHEDIT
87 #define wxUSE_RICHEDIT 0
88 #undef wxUSE_RICHEDIT2
89 #define wxUSE_RICHEDIT2 0
90
91 // Standard SDK lacks a few things, forcefully disable them
92 #ifdef WCE_PLATFORM_STANDARDSDK
93 // no shell functions support
94 #undef wxUSE_STDPATHS
95 #define wxUSE_STDPATHS 0
96 #endif // WCE_PLATFORM_STANDARDSDK
97
98 // not sure if this is supported by eVC but VC8 SDK lacks the tooltips control
99 // related declarations
100 #if defined(__VISUALC__) && __VISUALC__ >= 1400
101 #undef wxUSE_TOOLTIPS
102 #define wxUSE_TOOLTIPS 0
103 #endif
104
105 #undef wxUSE_UNICODE_MSLU
106 #define wxUSE_UNICODE_MSLU 0
107
108 #undef wxUSE_UXTHEME
109 #define wxUSE_UXTHEME 0
110
111 #undef wxUSE_WXHTML_HELP
112 #define wxUSE_WXHTML_HELP 0
113
114
115 // Disable features which don't make sense for MS Smartphones
116 // (due to pointer device usage, limited controls or dialogs, file system)
117 #if defined(__SMARTPHONE__)
118 #undef wxUSE_LISTBOOK
119 #define wxUSE_LISTBOOK 0
120
121 #undef wxUSE_NOTEBOOK
122 #define wxUSE_NOTEBOOK 0
123
124 #undef wxUSE_STATUSBAR
125 #define wxUSE_STATUSBAR 0
126
127 #undef wxUSE_COLOURPICKERCTRL
128 #define wxUSE_COLOURPICKERCTRL 0
129
130 #undef wxUSE_COLOURDLG
131 #define wxUSE_COLOURDLG 0
132 #endif // __SMARTPHONE__
133
134 #endif // _WX_MSW_WINCE_CHKCONF_H_
135