]>
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 | ||
d6f2a891 VZ |
44 | // and they're disabled for WinCE in build/bakefiles/{tiff|regex}.bkl so can't |
45 | // be enabled here | |
46 | #undef wxUSE_LIBTIFF | |
47 | #define wxUSE_LIBTIFF 0 | |
48 | ||
49 | // no MDI under CE | |
50 | #undef wxUSE_MDI | |
51 | #define wxUSE_MDI 0 | |
52 | #undef wxUSE_MDI_ARCHITECTURE | |
53 | #define wxUSE_MDI_ARCHITECTURE 0 | |
54 | ||
5e7f00a1 | 55 | // metafiles are not supported neither |
d6f2a891 VZ |
56 | #undef wxUSE_METAFILE |
57 | #define wxUSE_METAFILE 0 | |
5e7f00a1 VZ |
58 | #undef wxUSE_ENH_METAFILE |
59 | #define wxUSE_ENH_METAFILE 0 | |
60 | ||
d6f2a891 VZ |
61 | // not sure if this is supported by CE but it doesn't compile currently anyhow |
62 | #undef wxUSE_MS_HTML_HELP | |
63 | #define wxUSE_MS_HTML_HELP 0 | |
5e7f00a1 VZ |
64 | |
65 | // eVC doesn't support SEH | |
66 | #undef wxUSE_ON_FATAL_EXCEPTION | |
67 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
68 | ||
d6f2a891 VZ |
69 | // no owner drawn controls (not sure if this is possible at all but in any case |
70 | // the code doesn't currently compile) | |
71 | #undef wxUSE_OWNER_DRAWN | |
72 | #define wxUSE_OWNER_DRAWN 0 | |
a14132e1 | 73 | |
5e7f00a1 | 74 | // libtiff and regex apparently don't compile with eVC (to check with eVC4?) |
d6f2a891 VZ |
75 | // other MSW settings not supported by CE |
76 | #undef wxUSE_PRINTING_ARCHITECTURE | |
77 | #define wxUSE_PRINTING_ARCHITECTURE 0 | |
5e7f00a1 VZ |
78 | |
79 | #undef wxUSE_REGEX | |
80 | #define wxUSE_REGEX 0 | |
81 | ||
7ecb6683 VZ |
82 | #undef wxUSE_RICHEDIT |
83 | #define wxUSE_RICHEDIT 0 | |
84 | #undef wxUSE_RICHEDIT2 | |
85 | #define wxUSE_RICHEDIT2 0 | |
86 | ||
d6f2a891 VZ |
87 | // Standard SDK lacks a few things, forcefully disable them |
88 | #ifdef WCE_PLATFORM_STANDARDSDK | |
89 | // no shell functions support | |
90 | #undef wxUSE_STDPATHS | |
91 | #define wxUSE_STDPATHS 0 | |
92 | #endif // WCE_PLATFORM_STANDARDSDK | |
93 | ||
94 | // not sure if this is supported by eVC but VC8 SDK lacks the tooltips control | |
95 | // related declarations | |
96 | #if defined(__VISUALC__) && __VISUALC__ >= 1400 | |
97 | #undef wxUSE_TOOLTIPS | |
98 | #define wxUSE_TOOLTIPS 0 | |
99 | #endif | |
7ecb6683 VZ |
100 | |
101 | #undef wxUSE_UNICODE_MSLU | |
102 | #define wxUSE_UNICODE_MSLU 0 | |
103 | ||
d6f2a891 VZ |
104 | #undef wxUSE_UXTHEME |
105 | #define wxUSE_UXTHEME 0 | |
106 | ||
107 | #undef wxUSE_WXHTML_HELP | |
108 | #define wxUSE_WXHTML_HELP 0 | |
109 | ||
110 | ||
0bb0e26c | 111 | // Disable features which don't make sense for MS Smartphones |
2ea6c1f7 | 112 | // (due to pointer device usage, limited controls or dialogs, file system) |
5e7f00a1 VZ |
113 | #if defined(__SMARTPHONE__) |
114 | #undef wxUSE_LISTBOOK | |
115 | #define wxUSE_LISTBOOK 0 | |
116 | ||
117 | #undef wxUSE_NOTEBOOK | |
118 | #define wxUSE_NOTEBOOK 0 | |
119 | ||
120 | #undef wxUSE_STATUSBAR | |
121 | #define wxUSE_STATUSBAR 0 | |
2ea6c1f7 WS |
122 | |
123 | #undef wxUSE_COLOURPICKERCTRL | |
124 | #define wxUSE_COLOURPICKERCTRL 0 | |
6619edf0 VZ |
125 | |
126 | #undef wxUSE_COLOURDLG | |
127 | #define wxUSE_COLOURDLG 0 | |
5e7f00a1 VZ |
128 | #endif // __SMARTPHONE__ |
129 | ||
69dada2e VZ |
130 | #endif // _WX_MSW_WINCE_CHKCONF_H_ |
131 |