]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wince/chkconf.h
Remove all lines containing cvs/svn "$Id$" keyword.
[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 // 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
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
23
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
30 // eVC doesn't have standard streams
31 #ifdef __EVC4__
32 #undef wxUSE_STD_IOSTREAM
33 #define wxUSE_STD_IOSTREAM 0
34 #endif
35
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
45 // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
46 #undef wxUSE_IPC
47 #define wxUSE_IPC 0
48
49 // doesn't make sense for CE devices and doesn't compile anyhow
50 #undef wxUSE_JOYSTICK
51 #define wxUSE_JOYSTICK 0
52
53 // libtiff doesn't build with eVC but is ok with VC8
54 #ifdef __EVC4__
55 #undef wxUSE_LIBTIFF
56 #define wxUSE_LIBTIFF 0
57 #endif
58
59 // no AUI under CE: it's unnecessary and currently doesn't compile
60 #undef wxUSE_AUI
61 #define wxUSE_AUI 0
62
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
69 // metafiles are not supported neither
70 #undef wxUSE_METAFILE
71 #define wxUSE_METAFILE 0
72 #undef wxUSE_ENH_METAFILE
73 #define wxUSE_ENH_METAFILE 0
74
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
78
79 // eVC doesn't support SEH
80 #undef wxUSE_ON_FATAL_EXCEPTION
81 #define wxUSE_ON_FATAL_EXCEPTION 0
82
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
87
88 #undef wxUSE_PRINTING_ARCHITECTURE
89 #define wxUSE_PRINTING_ARCHITECTURE 0
90
91 // regex doesn't build with eVC but is ok with VC8
92 #ifdef __EVC4__
93 #undef wxUSE_REGEX
94 #define wxUSE_REGEX 0
95 #endif
96
97 #undef wxUSE_RICHEDIT
98 #define wxUSE_RICHEDIT 0
99 #undef wxUSE_RICHEDIT2
100 #define wxUSE_RICHEDIT2 0
101
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
109 // there is no support for balloon taskbar icons
110 #undef wxUSE_TASKBARICON_BALLOONS
111 #define wxUSE_TASKBARICON_BALLOONS 0
112
113 // not sure if this is supported by eVC but VC8 SDK lacks the tooltips control
114 // related declarations
115 #if wxCHECK_VISUALC_VERSION(8)
116 #undef wxUSE_TOOLTIPS
117 #define wxUSE_TOOLTIPS 0
118 #endif
119
120 #undef wxUSE_UNICODE_MSLU
121 #define wxUSE_UNICODE_MSLU 0
122
123 #undef wxUSE_UXTHEME
124 #define wxUSE_UXTHEME 0
125
126 #undef wxUSE_WXHTML_HELP
127 #define wxUSE_WXHTML_HELP 0
128
129
130 // Disable features which don't make sense for MS Smartphones
131 // (due to pointer device usage, limited controls or dialogs, file system)
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
141
142 #undef wxUSE_COLOURPICKERCTRL
143 #define wxUSE_COLOURPICKERCTRL 0
144
145 #undef wxUSE_COLOURDLG
146 #define wxUSE_COLOURDLG 0
147 #endif // __SMARTPHONE__
148
149 #endif // _WX_MSW_WINCE_CHKCONF_H_
150