]>
git.saurik.com Git - wxWidgets.git/blob - 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
7 // Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_MSW_WINCE_CHKCONF_H_
12 #define _WX_MSW_WINCE_CHKCONF_H_
14 // ----------------------------------------------------------------------------
15 // Disable features which don't work or don't make sense under CE
16 // ----------------------------------------------------------------------------
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)
21 #undef wxUSE_DEBUGREPORT
22 #define wxUSE_DEBUGREPORT 0
25 // not enough API and lack of ddraw.h
27 #define wxUSE_DISPLAY 0
30 // eVC doesn't have standard streams
32 #undef wxUSE_STD_IOSTREAM
33 #define wxUSE_STD_IOSTREAM 0
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)
39 #define wxUSE_FSVOLUME 0
41 // no .INI files API under CE
43 #define wxUSE_INICONF 0
45 // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
49 // doesn't make sense for CE devices and doesn't compile anyhow
51 #define wxUSE_JOYSTICK 0
53 // libtiff doesn't build with eVC but is ok with VC8
56 #define wxUSE_LIBTIFF 0
59 // no AUI under CE: it's unnecessary and currently doesn't compile
66 #undef wxUSE_MDI_ARCHITECTURE
67 #define wxUSE_MDI_ARCHITECTURE 0
69 // metafiles are not supported neither
71 #define wxUSE_METAFILE 0
72 #undef wxUSE_ENH_METAFILE
73 #define wxUSE_ENH_METAFILE 0
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
79 // eVC doesn't support SEH
80 #undef wxUSE_ON_FATAL_EXCEPTION
81 #define wxUSE_ON_FATAL_EXCEPTION 0
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
88 #undef wxUSE_PRINTING_ARCHITECTURE
89 #define wxUSE_PRINTING_ARCHITECTURE 0
91 // regex doesn't build with eVC but is ok with VC8
98 #define wxUSE_RICHEDIT 0
99 #undef wxUSE_RICHEDIT2
100 #define wxUSE_RICHEDIT2 0
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
109 // there is no support for balloon taskbar icons
110 #undef wxUSE_TASKBARICON_BALLOONS
111 #define wxUSE_TASKBARICON_BALLOONS 0
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
120 #undef wxUSE_UNICODE_MSLU
121 #define wxUSE_UNICODE_MSLU 0
124 #define wxUSE_UXTHEME 0
126 #undef wxUSE_WXHTML_HELP
127 #define wxUSE_WXHTML_HELP 0
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
136 #undef wxUSE_NOTEBOOK
137 #define wxUSE_NOTEBOOK 0
139 #undef wxUSE_STATUSBAR
140 #define wxUSE_STATUSBAR 0
142 #undef wxUSE_COLOURPICKERCTRL
143 #define wxUSE_COLOURPICKERCTRL 0
145 #undef wxUSE_COLOURDLG
146 #define wxUSE_COLOURDLG 0
147 #endif // __SMARTPHONE__
149 #endif // _WX_MSW_WINCE_CHKCONF_H_