]>
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 | |
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 | ||
d6f2a891 VZ |
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 | |
69dada2e | 24 | |
b706528b WS |
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 | ||
d6f2a891 VZ |
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 | ||
5e7f00a1 VZ |
40 | // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW |
41 | #undef wxUSE_IPC | |
42 | #define wxUSE_IPC 0 | |
43 | ||
93153d9a VZ |
44 | // doesn't make sense for CE devices and doesn't compile anyhow |
45 | #undef wxUSE_JOYSTICK | |
46 | #define wxUSE_JOYSTICK 0 | |
47 | ||
4798fbc7 VZ |
48 | // libtiff doesn't build with eVC but is ok with VC8 |
49 | #if !wxCHECK_VISUALC_VERSION(8) | |
50 | #undef wxUSE_LIBTIFF | |
51 | #define wxUSE_LIBTIFF 0 | |
52 | #endif | |
d6f2a891 | 53 | |
d41f3440 VZ |
54 | // no AUI under CE: it's unnecessary and currently doesn't compile |
55 | #undef wxUSE_AUI | |
56 | #define wxUSE_AUI 0 | |
57 | ||
d6f2a891 VZ |
58 | // no MDI under CE |
59 | #undef wxUSE_MDI | |
60 | #define wxUSE_MDI 0 | |
61 | #undef wxUSE_MDI_ARCHITECTURE | |
62 | #define wxUSE_MDI_ARCHITECTURE 0 | |
63 | ||
5e7f00a1 | 64 | // metafiles are not supported neither |
d6f2a891 VZ |
65 | #undef wxUSE_METAFILE |
66 | #define wxUSE_METAFILE 0 | |
5e7f00a1 VZ |
67 | #undef wxUSE_ENH_METAFILE |
68 | #define wxUSE_ENH_METAFILE 0 | |
69 | ||
d6f2a891 VZ |
70 | // not sure if this is supported by CE but it doesn't compile currently anyhow |
71 | #undef wxUSE_MS_HTML_HELP | |
72 | #define wxUSE_MS_HTML_HELP 0 | |
5e7f00a1 VZ |
73 | |
74 | // eVC doesn't support SEH | |
75 | #undef wxUSE_ON_FATAL_EXCEPTION | |
76 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
77 | ||
d6f2a891 VZ |
78 | // no owner drawn controls (not sure if this is possible at all but in any case |
79 | // the code doesn't currently compile) | |
80 | #undef wxUSE_OWNER_DRAWN | |
81 | #define wxUSE_OWNER_DRAWN 0 | |
a14132e1 | 82 | |
d6f2a891 VZ |
83 | #undef wxUSE_PRINTING_ARCHITECTURE |
84 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
5e7f00a1 | 85 | |
4798fbc7 VZ |
86 | // regex doesn't build with eVC but is ok with VC8 |
87 | #if !wxCHECK_VISUALC_VERSION(8) | |
88 | #undef wxUSE_REGEX | |
89 | #define wxUSE_REGEX 0 | |
90 | #endif | |
5e7f00a1 | 91 | |
7ecb6683 VZ |
92 | #undef wxUSE_RICHEDIT |
93 | #define wxUSE_RICHEDIT 0 | |
94 | #undef wxUSE_RICHEDIT2 | |
95 | #define wxUSE_RICHEDIT2 0 | |
96 | ||
d6f2a891 VZ |
97 | // Standard SDK lacks a few things, forcefully disable them |
98 | #ifdef WCE_PLATFORM_STANDARDSDK | |
99 | // no shell functions support | |
100 | #undef wxUSE_STDPATHS | |
101 | #define wxUSE_STDPATHS 0 | |
102 | #endif // WCE_PLATFORM_STANDARDSDK | |
103 | ||
4798fbc7 VZ |
104 | // there is no support for balloon taskbar icons |
105 | #undef wxUSE_TASKBARICON_BALLOONS | |
106 | #define wxUSE_TASKBARICON_BALLOONS 0 | |
107 | ||
d6f2a891 VZ |
108 | // not sure if this is supported by eVC but VC8 SDK lacks the tooltips control |
109 | // related declarations | |
4798fbc7 | 110 | #if wxCHECK_VISUALC_VERSION(8) |
d6f2a891 VZ |
111 | #undef wxUSE_TOOLTIPS |
112 | #define wxUSE_TOOLTIPS 0 | |
113 | #endif | |
7ecb6683 VZ |
114 | |
115 | #undef wxUSE_UNICODE_MSLU | |
116 | #define wxUSE_UNICODE_MSLU 0 | |
117 | ||
d6f2a891 VZ |
118 | #undef wxUSE_UXTHEME |
119 | #define wxUSE_UXTHEME 0 | |
120 | ||
121 | #undef wxUSE_WXHTML_HELP | |
122 | #define wxUSE_WXHTML_HELP 0 | |
123 | ||
124 | ||
0bb0e26c | 125 | // Disable features which don't make sense for MS Smartphones |
2ea6c1f7 | 126 | // (due to pointer device usage, limited controls or dialogs, file system) |
5e7f00a1 VZ |
127 | #if defined(__SMARTPHONE__) |
128 | #undef wxUSE_LISTBOOK | |
129 | #define wxUSE_LISTBOOK 0 | |
130 | ||
131 | #undef wxUSE_NOTEBOOK | |
132 | #define wxUSE_NOTEBOOK 0 | |
133 | ||
134 | #undef wxUSE_STATUSBAR | |
135 | #define wxUSE_STATUSBAR 0 | |
2ea6c1f7 WS |
136 | |
137 | #undef wxUSE_COLOURPICKERCTRL | |
138 | #define wxUSE_COLOURPICKERCTRL 0 | |
6619edf0 VZ |
139 | |
140 | #undef wxUSE_COLOURDLG | |
141 | #define wxUSE_COLOURDLG 0 | |
5e7f00a1 VZ |
142 | #endif // __SMARTPHONE__ |
143 | ||
69dada2e VZ |
144 | #endif // _WX_MSW_WINCE_CHKCONF_H_ |
145 |