]>
Commit | Line | Data |
---|---|---|
69dada2e | 1 | /////////////////////////////////////////////////////////////////////////////// |
b706528b | 2 | // Name: wx/msw/wince/chkconf.h |
69dada2e VZ |
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 | ||
b706528b WS |
22 | #if _WIN32_WCE < 400 |
23 | // not enough API and lack of ddraw.h | |
24 | #undef wxUSE_DISPLAY | |
25 | #define wxUSE_DISPLAY 0 | |
26 | #endif | |
27 | ||
5e7f00a1 VZ |
28 | // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW |
29 | #undef wxUSE_IPC | |
30 | #define wxUSE_IPC 0 | |
31 | ||
32 | // metafiles are not supported neither | |
33 | #undef wxUSE_ENH_METAFILE | |
34 | #define wxUSE_ENH_METAFILE 0 | |
35 | ||
36 | #undef wxUSE_METAFILE | |
37 | #define wxUSE_METAFILE 0 | |
38 | ||
39 | // eVC doesn't support SEH | |
40 | #undef wxUSE_ON_FATAL_EXCEPTION | |
41 | #define wxUSE_ON_FATAL_EXCEPTION 0 | |
42 | ||
43 | // media stuff not supported under CE | |
5e7f00a1 VZ |
44 | #undef wxUSE_MEDIACTRL |
45 | #define wxUSE_MEDIACTRL 0 | |
46 | ||
a14132e1 WS |
47 | #undef wxUSE_WXHTML_HELP |
48 | #define wxUSE_WXHTML_HELP 0 | |
49 | ||
5e7f00a1 VZ |
50 | // libtiff and regex apparently don't compile with eVC (to check with eVC4?) |
51 | // and they're disabled for WinCE in build/bakefiles/{tiff|regex}.bkl so can't | |
52 | // be enabled here | |
53 | #undef wxUSE_LIBTIFF | |
54 | #define wxUSE_LIBTIFF 0 | |
55 | ||
56 | #undef wxUSE_REGEX | |
57 | #define wxUSE_REGEX 0 | |
58 | ||
7b4a652a JS |
59 | #undef wxUSE_DEBUGREPORT |
60 | #define wxUSE_DEBUGREPORT 0 | |
5e7f00a1 | 61 | |
7ecb6683 VZ |
62 | // other MSW settings not supported by CE |
63 | #undef wxUSE_RICHEDIT | |
64 | #define wxUSE_RICHEDIT 0 | |
65 | #undef wxUSE_RICHEDIT2 | |
66 | #define wxUSE_RICHEDIT2 0 | |
67 | ||
68 | #undef wxUSE_UXTHEME | |
69 | #define wxUSE_UXTHEME 0 | |
70 | #undef wxUSE_UXTHEME_AUTO | |
71 | #define wxUSE_UXTHEME_AUTO 0 | |
72 | ||
73 | #undef wxUSE_UNICODE_MSLU | |
74 | #define wxUSE_UNICODE_MSLU 0 | |
75 | ||
76 | ||
0bb0e26c WS |
77 | // Disable features which don't make sense for MS Smartphones |
78 | // (due to pointer device usage, limited controls, file system) | |
5e7f00a1 VZ |
79 | #if defined(__SMARTPHONE__) |
80 | #undef wxUSE_LISTBOOK | |
81 | #define wxUSE_LISTBOOK 0 | |
82 | ||
83 | #undef wxUSE_NOTEBOOK | |
84 | #define wxUSE_NOTEBOOK 0 | |
85 | ||
86 | #undef wxUSE_STATUSBAR | |
87 | #define wxUSE_STATUSBAR 0 | |
88 | #endif // __SMARTPHONE__ | |
89 | ||
69dada2e VZ |
90 | #endif // _WX_MSW_WINCE_CHKCONF_H_ |
91 |