]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wince/chkconf.h
Avoid setting attributes in GTK wxDataViewRenderer if not supported.
[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 // eVC doesn't have standard streams
32 #ifdef __EVC4__
33 #undef wxUSE_STD_IOSTREAM
34 #define wxUSE_STD_IOSTREAM 0
35 #endif
36
37 // wxFSVolume currently doesn't compile under CE and it's not clear if it makes
38 // sense at all there (the drives and their names are fixed on CE systems)
39 #undef wxUSE_FSVOLUME
40 #define wxUSE_FSVOLUME 0
41
42 // no .INI files API under CE
43 #undef wxUSE_INICONF
44 #define wxUSE_INICONF 0
45
46 // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
47 #undef wxUSE_IPC
48 #define wxUSE_IPC 0
49
50 // doesn't make sense for CE devices and doesn't compile anyhow
51 #undef wxUSE_JOYSTICK
52 #define wxUSE_JOYSTICK 0
53
54 // libtiff doesn't build with eVC but is ok with VC8
55 #ifdef __EVC4__
56 #undef wxUSE_LIBTIFF
57 #define wxUSE_LIBTIFF 0
58 #endif
59
60 // no AUI under CE: it's unnecessary and currently doesn't compile
61 #undef wxUSE_AUI
62 #define wxUSE_AUI 0
63
64 // no MDI under CE
65 #undef wxUSE_MDI
66 #define wxUSE_MDI 0
67 #undef wxUSE_MDI_ARCHITECTURE
68 #define wxUSE_MDI_ARCHITECTURE 0
69
70 // metafiles are not supported neither
71 #undef wxUSE_METAFILE
72 #define wxUSE_METAFILE 0
73 #undef wxUSE_ENH_METAFILE
74 #define wxUSE_ENH_METAFILE 0
75
76 // not sure if this is supported by CE but it doesn't compile currently anyhow
77 #undef wxUSE_MS_HTML_HELP
78 #define wxUSE_MS_HTML_HELP 0
79
80 // eVC doesn't support SEH
81 #undef wxUSE_ON_FATAL_EXCEPTION
82 #define wxUSE_ON_FATAL_EXCEPTION 0
83
84 // no owner drawn controls (not sure if this is possible at all but in any case
85 // the code doesn't currently compile)
86 #undef wxUSE_OWNER_DRAWN
87 #define wxUSE_OWNER_DRAWN 0
88
89 #undef wxUSE_PRINTING_ARCHITECTURE
90 #define wxUSE_PRINTING_ARCHITECTURE 0
91
92 // regex doesn't build with eVC but is ok with VC8
93 #ifdef __EVC4__
94 #undef wxUSE_REGEX
95 #define wxUSE_REGEX 0
96 #endif
97
98 #undef wxUSE_RICHEDIT
99 #define wxUSE_RICHEDIT 0
100 #undef wxUSE_RICHEDIT2
101 #define wxUSE_RICHEDIT2 0
102
103 // Standard SDK lacks a few things, forcefully disable them
104 #ifdef WCE_PLATFORM_STANDARDSDK
105 // no shell functions support
106 #undef wxUSE_STDPATHS
107 #define wxUSE_STDPATHS 0
108 #endif // WCE_PLATFORM_STANDARDSDK
109
110 // there is no support for balloon taskbar icons
111 #undef wxUSE_TASKBARICON_BALLOONS
112 #define wxUSE_TASKBARICON_BALLOONS 0
113
114 // not sure if this is supported by eVC but VC8 SDK lacks the tooltips control
115 // related declarations
116 #if wxCHECK_VISUALC_VERSION(8)
117 #undef wxUSE_TOOLTIPS
118 #define wxUSE_TOOLTIPS 0
119 #endif
120
121 #undef wxUSE_UNICODE_MSLU
122 #define wxUSE_UNICODE_MSLU 0
123
124 #undef wxUSE_UXTHEME
125 #define wxUSE_UXTHEME 0
126
127 #undef wxUSE_WXHTML_HELP
128 #define wxUSE_WXHTML_HELP 0
129
130
131 // Disable features which don't make sense for MS Smartphones
132 // (due to pointer device usage, limited controls or dialogs, file system)
133 #if defined(__SMARTPHONE__)
134 #undef wxUSE_LISTBOOK
135 #define wxUSE_LISTBOOK 0
136
137 #undef wxUSE_NOTEBOOK
138 #define wxUSE_NOTEBOOK 0
139
140 #undef wxUSE_STATUSBAR
141 #define wxUSE_STATUSBAR 0
142
143 #undef wxUSE_COLOURPICKERCTRL
144 #define wxUSE_COLOURPICKERCTRL 0
145
146 #undef wxUSE_COLOURDLG
147 #define wxUSE_COLOURDLG 0
148 #endif // __SMARTPHONE__
149
150 #endif // _WX_MSW_WINCE_CHKCONF_H_
151