]> git.saurik.com Git - wxWidgets.git/blob - include/wx/msw/wince/chkconf.h
define wxUSE_MFC as 0 if it's not defined (fixes gcc -Wundef warning)
[wxWidgets.git] / include / wx / msw / wince / chkconf.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/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 // Standard SDK lacks a few things, forcefully disable them
16 #ifdef WCE_PLATFORM_STANDARDSDK
17 // no shell functions support
18 #undef wxUSE_STDPATHS
19 #define wxUSE_STDPATHS 0
20 #endif // WCE_PLATFORM_STANDARDSDK
21
22 // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW
23 #undef wxUSE_IPC
24 #define wxUSE_IPC 0
25
26 // metafiles are not supported neither
27 #undef wxUSE_ENH_METAFILE
28 #define wxUSE_ENH_METAFILE 0
29
30 #undef wxUSE_METAFILE
31 #define wxUSE_METAFILE 0
32
33 // eVC doesn't support SEH
34 #undef wxUSE_ON_FATAL_EXCEPTION
35 #define wxUSE_ON_FATAL_EXCEPTION 0
36
37 // media stuff not supported under CE
38 #undef wxUSE_MEDIACTRL
39 #define wxUSE_MEDIACTRL 0
40
41 #undef wxUSE_WXHTML_HELP
42 #define wxUSE_WXHTML_HELP 0
43
44 // libtiff and regex apparently don't compile with eVC (to check with eVC4?)
45 // and they're disabled for WinCE in build/bakefiles/{tiff|regex}.bkl so can't
46 // be enabled here
47 #undef wxUSE_LIBTIFF
48 #define wxUSE_LIBTIFF 0
49
50 #undef wxUSE_REGEX
51 #define wxUSE_REGEX 0
52
53 #undef wxUSE_DEBUGREPORT
54 #define wxUSE_DEBUGREPORT 0
55
56 // other MSW settings not supported by CE
57 #undef wxUSE_RICHEDIT
58 #define wxUSE_RICHEDIT 0
59 #undef wxUSE_RICHEDIT2
60 #define wxUSE_RICHEDIT2 0
61
62 #undef wxUSE_UXTHEME
63 #define wxUSE_UXTHEME 0
64 #undef wxUSE_UXTHEME_AUTO
65 #define wxUSE_UXTHEME_AUTO 0
66
67 #undef wxUSE_UNICODE_MSLU
68 #define wxUSE_UNICODE_MSLU 0
69
70
71 // Disable features which don't make sense for MS Smartphones
72 // (due to pointer device usage, limited controls, file system)
73 #if defined(__SMARTPHONE__)
74 #undef wxUSE_LISTBOOK
75 #define wxUSE_LISTBOOK 0
76
77 #undef wxUSE_NOTEBOOK
78 #define wxUSE_NOTEBOOK 0
79
80 #undef wxUSE_STATUSBAR
81 #define wxUSE_STATUSBAR 0
82 #endif // __SMARTPHONE__
83
84 #endif // _WX_MSW_WINCE_CHKCONF_H_
85