]>
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
8 // Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSW_WINCE_CHKCONF_H_
13 #define _WX_MSW_WINCE_CHKCONF_H_
15 // ----------------------------------------------------------------------------
16 // Disable features which don't work or don't make sense under CE
17 // ----------------------------------------------------------------------------
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)
22 #undef wxUSE_DEBUGREPORT
23 #define wxUSE_DEBUGREPORT 0
26 // not enough API and lack of ddraw.h
28 #define wxUSE_DISPLAY 0
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)
34 #define wxUSE_FSVOLUME 0
36 // no .INI files API under CE
38 #define wxUSE_INICONF 0
40 // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
44 // doesn't make sense for CE devices and doesn't compile anyhow
46 #define wxUSE_JOYSTICK 0
48 // libtiff doesn't build with eVC but is ok with VC8
49 #if !wxCHECK_VISUALC_VERSION(8)
51 #define wxUSE_LIBTIFF 0
57 #undef wxUSE_MDI_ARCHITECTURE
58 #define wxUSE_MDI_ARCHITECTURE 0
60 // metafiles are not supported neither
62 #define wxUSE_METAFILE 0
63 #undef wxUSE_ENH_METAFILE
64 #define wxUSE_ENH_METAFILE 0
66 // not sure if this is supported by CE but it doesn't compile currently anyhow
67 #undef wxUSE_MS_HTML_HELP
68 #define wxUSE_MS_HTML_HELP 0
70 // eVC doesn't support SEH
71 #undef wxUSE_ON_FATAL_EXCEPTION
72 #define wxUSE_ON_FATAL_EXCEPTION 0
74 // no owner drawn controls (not sure if this is possible at all but in any case
75 // the code doesn't currently compile)
76 #undef wxUSE_OWNER_DRAWN
77 #define wxUSE_OWNER_DRAWN 0
79 #undef wxUSE_PRINTING_ARCHITECTURE
80 #define wxUSE_PRINTING_ARCHITECTURE 0
82 // regex doesn't build with eVC but is ok with VC8
83 #if !wxCHECK_VISUALC_VERSION(8)
89 #define wxUSE_RICHEDIT 0
90 #undef wxUSE_RICHEDIT2
91 #define wxUSE_RICHEDIT2 0
93 // Standard SDK lacks a few things, forcefully disable them
94 #ifdef WCE_PLATFORM_STANDARDSDK
95 // no shell functions support
97 #define wxUSE_STDPATHS 0
98 #endif // WCE_PLATFORM_STANDARDSDK
100 // there is no support for balloon taskbar icons
101 #undef wxUSE_TASKBARICON_BALLOONS
102 #define wxUSE_TASKBARICON_BALLOONS 0
104 // not sure if this is supported by eVC but VC8 SDK lacks the tooltips control
105 // related declarations
106 #if wxCHECK_VISUALC_VERSION(8)
107 #undef wxUSE_TOOLTIPS
108 #define wxUSE_TOOLTIPS 0
111 #undef wxUSE_UNICODE_MSLU
112 #define wxUSE_UNICODE_MSLU 0
115 #define wxUSE_UXTHEME 0
117 #undef wxUSE_WXHTML_HELP
118 #define wxUSE_WXHTML_HELP 0
121 // Disable features which don't make sense for MS Smartphones
122 // (due to pointer device usage, limited controls or dialogs, file system)
123 #if defined(__SMARTPHONE__)
124 #undef wxUSE_LISTBOOK
125 #define wxUSE_LISTBOOK 0
127 #undef wxUSE_NOTEBOOK
128 #define wxUSE_NOTEBOOK 0
130 #undef wxUSE_STATUSBAR
131 #define wxUSE_STATUSBAR 0
133 #undef wxUSE_COLOURPICKERCTRL
134 #define wxUSE_COLOURPICKERCTRL 0
136 #undef wxUSE_COLOURDLG
137 #define wxUSE_COLOURDLG 0
138 #endif // __SMARTPHONE__
140 #endif // _WX_MSW_WINCE_CHKCONF_H_