]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/chkconf.h
using newer API
[wxWidgets.git] / include / wx / mgl / chkconf.h
CommitLineData
b8af111f
WS
1/*
2 * Name: wx/mgl/chkconf.h
3 * Purpose: Compiler-specific configuration checking
4 * Author: Julian Smart
5 * Modified by:
6 * Created: 01/02/97
7 * RCS-ID: $Id$
8 * Copyright: (c) Julian Smart
9 * Licence: wxWindows licence
10 */
11
12/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
13
14#ifndef _WX_MGL_CHKCONF_H_
15#define _WX_MGL_CHKCONF_H_
16
05024233
VS
17
18/* wxPalette is always needed */
19#if !wxUSE_PALETTE
20# error "wxMGL requires wxUSE_PALETTE=1"
21#endif
22
5981cd22
VZ
23/*
24 wxDisplay is not implemented for OS/2, use stub common version instead.
25 */
26#if wxUSE_DISPLAY
27# undef wxUSE_DISPLAY
28# define wxUSE_DISPLAY 0
29#endif /* wxUSE_DISPLAY */
30
b8af111f
WS
31#ifdef __WATCOMC__
32
33/* Watcom builds for MGL port are setup.h driven and setup.h is
34 automatically generated from include/wx/setup_inc.h so we have
35 to disable here features not supported currently or enable
36 features required */
37
38#if wxUSE_STACKWALKER
39# undef wxUSE_STACKWALKER
40# define wxUSE_STACKWALKER 0
41#endif /* wxUSE_STACKWALKER */
42
43#if wxUSE_ACCEL
44# undef wxUSE_ACCEL
45# define wxUSE_ACCEL 0
46#endif /* wxUSE_ACCEL */
47
48#if wxUSE_DYNLIB_CLASS
49# undef wxUSE_DYNLIB_CLASS
50# define wxUSE_DYNLIB_CLASS 0
51#endif /* wxUSE_DYNLIB_CLASS */
52
53#if wxUSE_DYNAMIC_LOADER
54# undef wxUSE_DYNAMIC_LOADER
55# define wxUSE_DYNAMIC_LOADER 0
56#endif /* wxUSE_DYNAMIC_LOADER */
57
58#if wxUSE_ODBC
59# undef wxUSE_ODBC
60# define wxUSE_ODBC 0
61#endif /* wxUSE_ODBC */
62
63#if wxUSE_DATAOBJ
64# undef wxUSE_DATAOBJ
65# define wxUSE_DATAOBJ 0
66#endif
67
68#if wxUSE_CLIPBOARD
69# undef wxUSE_CLIPBOARD
70# define wxUSE_CLIPBOARD 0
71#endif /* wxUSE_CLIPBOARD */
72
73#if wxUSE_SOCKETS
74# undef wxUSE_SOCKETS
75# define wxUSE_SOCKETS 0
76#endif /* wxUSE_SOCKETS */
77
3ab14c03
WS
78#if wxUSE_THREADS
79# undef wxUSE_THREADS
80# define wxUSE_THREADS 0
81#endif /* wxUSE_SOCKETS */
82
b8af111f
WS
83#if wxUSE_PROTOCOL
84# undef wxUSE_PROTOCOL
85# define wxUSE_PROTOCOL 0
86#endif /* wxUSE_PROTOCOL */
87
88#if wxUSE_URL
89# undef wxUSE_URL
90# define wxUSE_URL 0
91#endif /* wxUSE_URL */
92
93#if wxUSE_FS_INET
94# undef wxUSE_FS_INET
95# define wxUSE_FS_INET 0
96#endif /* wxUSE_FS_INET */
97
47a2e1ee
WS
98#if wxUSE_MS_HTML_HELP
99# undef wxUSE_MS_HTML_HELP
100# define wxUSE_MS_HTML_HELP 0
101#endif
102
b8af111f
WS
103#endif /* __WATCOM__ */
104
105#endif /* _WX_MGL_CHKCONF_H_ */