]>
Commit | Line | Data |
---|---|---|
69dada2e | 1 | /////////////////////////////////////////////////////////////////////////////// |
b706528b | 2 | // Name: wx/msw/wince/chkconf.h |
69dada2e VZ |
3 | // Purpose: WinCE-specific configuration options checks |
4 | // Author: Vadim Zeitlin | |
5 | // Modified by: | |
6 | // Created: 2005-03-07 | |
69dada2e VZ |
7 | // Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwindows.org> |
8 | // Licence: wxWindows licence | |
9 | /////////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | #ifndef _WX_MSW_WINCE_CHKCONF_H_ | |
12 | #define _WX_MSW_WINCE_CHKCONF_H_ | |
13 | ||
d6f2a891 VZ |
14 | // ---------------------------------------------------------------------------- |
15 | // Disable features which don't work or don't make sense under CE | |
16 | // ---------------------------------------------------------------------------- | |
17 | ||
18 | // please keep the list in alphabetic order except for closely related settings | |
19 | // (e.g. wxUSE_ENH_METAFILE is put immediately after wxUSE_METAFILE) | |
20 | ||
21 | #undef wxUSE_DEBUGREPORT | |
22 | #define wxUSE_DEBUGREPORT 0 | |
69dada2e | 23 | |
b706528b WS |
24 | #if _WIN32_WCE < 400 |
25 | // not enough API and lack of ddraw.h | |
26 | #undef wxUSE_DISPLAY | |
27 | #define wxUSE_DISPLAY 0 | |
28 | #endif | |
29 | ||
8f823da8 | 30 | // eVC doesn't have standard streams |
3795f11f | 31 | #ifdef __EVC4__ |
8f823da8 VZ |
32 | #undef wxUSE_STD_IOSTREAM |
33 | #define wxUSE_STD_IOSTREAM 0 | |
34 | #endif | |
35 | ||
d6f2a891 VZ |
36 | // wxFSVolume currently doesn't compile under CE and it's not clear if it makes |
37 | // sense at all there (the drives and their names are fixed on CE systems) | |
38 | #undef wxUSE_FSVOLUME | |
39 | #define wxUSE_FSVOLUME 0 | |
40 | ||
41 | // no .INI files API under CE | |
42 | #undef wxUSE_INICONF | |
43 | #define wxUSE_INICONF 0 | |
44 | ||
5e7f00a1 VZ |
45 | // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW |
46 | #undef wxUSE_IPC | |
47 | #define wxUSE_IPC 0 | |
48 | ||
93153d9a VZ |
49 | // doesn't make sense for CE devices and doesn't compile anyhow |
50 | #undef wxUSE_JOYSTICK | |
51 | #define wxUSE_JOYSTICK 0 | |
52 | ||
4798fbc7 | 53 | // libtiff doesn't build with eVC but is ok with VC8 |
3795f11f | 54 | #ifdef __EVC4__ |
4798fbc7 VZ |
55 | #undef wxUSE_LIBTIFF |
56 | #define wxUSE_LIBTIFF 0 | |
57 | #endif | |
d6f2a891 | 58 | |
d41f3440 VZ |
59 | // no AUI under CE: it's unnecessary and currently doesn't compile |
60 | #undef wxUSE_AUI | |
61 | #define wxUSE_AUI 0 | |
62 | ||
d6f2a891 VZ |
63 | // no MDI under CE |
64 | #undef wxUSE_MDI | |
65 | #define wxUSE_MDI 0 | |
66 | #undef wxUSE_MDI_ARCHITECTURE | |
67 | #define wxUSE_MDI_ARCHITECTURE 0 | |
68 | ||
5e7f00a1 | 69 | // metafiles are not supported neither |
d6f2a891 VZ |
70 | #undef wxUSE_METAFILE |
71 | #define wxUSE_METAFILE 0 | |
5e7f00a1 VZ |
72 | #undef wxUSE_ENH_METAFILE |
73 | #define wxUSE_ENH_METAFILE 0 | |
74 | ||
d6f2a891 VZ |
75 | // not sure if this is supported by CE but it doesn't compile currently anyhow |
76 | #undef wxUSE_MS_HTML_HELP | |
77 | #define wxUSE_MS_HTML_HELP 0 | |
5e7f00a1 VZ |
78 | |
79 | // eVC doesn't support SEH | |
80 | #undef wxUSE_ON_FATAL_EXCEPTION | |
81 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
82 | ||
d6f2a891 VZ |
83 | // no owner drawn controls (not sure if this is possible at all but in any case |
84 | // the code doesn't currently compile) | |
85 | #undef wxUSE_OWNER_DRAWN | |
86 | #define wxUSE_OWNER_DRAWN 0 | |
a14132e1 | 87 | |
d6f2a891 VZ |
88 | #undef wxUSE_PRINTING_ARCHITECTURE |
89 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
5e7f00a1 | 90 | |
4798fbc7 | 91 | // regex doesn't build with eVC but is ok with VC8 |
3795f11f | 92 | #ifdef __EVC4__ |
4798fbc7 VZ |
93 | #undef wxUSE_REGEX |
94 | #define wxUSE_REGEX 0 | |
95 | #endif | |
5e7f00a1 | 96 | |
7ecb6683 VZ |
97 | #undef wxUSE_RICHEDIT |
98 | #define wxUSE_RICHEDIT 0 | |
99 | #undef wxUSE_RICHEDIT2 | |
100 | #define wxUSE_RICHEDIT2 0 | |
101 | ||
d6f2a891 VZ |
102 | // Standard SDK lacks a few things, forcefully disable them |
103 | #ifdef WCE_PLATFORM_STANDARDSDK | |
104 | // no shell functions support | |
105 | #undef wxUSE_STDPATHS | |
106 | #define wxUSE_STDPATHS 0 | |
107 | #endif // WCE_PLATFORM_STANDARDSDK | |
108 | ||
4798fbc7 VZ |
109 | // there is no support for balloon taskbar icons |
110 | #undef wxUSE_TASKBARICON_BALLOONS | |
111 | #define wxUSE_TASKBARICON_BALLOONS 0 | |
112 | ||
d6f2a891 VZ |
113 | // not sure if this is supported by eVC but VC8 SDK lacks the tooltips control |
114 | // related declarations | |
4798fbc7 | 115 | #if wxCHECK_VISUALC_VERSION(8) |
d6f2a891 VZ |
116 | #undef wxUSE_TOOLTIPS |
117 | #define wxUSE_TOOLTIPS 0 | |
118 | #endif | |
7ecb6683 VZ |
119 | |
120 | #undef wxUSE_UNICODE_MSLU | |
121 | #define wxUSE_UNICODE_MSLU 0 | |
122 | ||
d6f2a891 VZ |
123 | #undef wxUSE_UXTHEME |
124 | #define wxUSE_UXTHEME 0 | |
125 | ||
126 | #undef wxUSE_WXHTML_HELP | |
127 | #define wxUSE_WXHTML_HELP 0 | |
128 | ||
129 | ||
0bb0e26c | 130 | // Disable features which don't make sense for MS Smartphones |
2ea6c1f7 | 131 | // (due to pointer device usage, limited controls or dialogs, file system) |
5e7f00a1 VZ |
132 | #if defined(__SMARTPHONE__) |
133 | #undef wxUSE_LISTBOOK | |
134 | #define wxUSE_LISTBOOK 0 | |
135 | ||
136 | #undef wxUSE_NOTEBOOK | |
137 | #define wxUSE_NOTEBOOK 0 | |
138 | ||
139 | #undef wxUSE_STATUSBAR | |
140 | #define wxUSE_STATUSBAR 0 | |
2ea6c1f7 WS |
141 | |
142 | #undef wxUSE_COLOURPICKERCTRL | |
143 | #define wxUSE_COLOURPICKERCTRL 0 | |
6619edf0 VZ |
144 | |
145 | #undef wxUSE_COLOURDLG | |
146 | #define wxUSE_COLOURDLG 0 | |
5e7f00a1 VZ |
147 | #endif // __SMARTPHONE__ |
148 | ||
69dada2e VZ |
149 | #endif // _WX_MSW_WINCE_CHKCONF_H_ |
150 |