]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mgl/chkconf.h
adding measuring contexts, streamlining printing code
[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
de370efe
VS
17#ifndef __WXUNIVERSAL__
18# error "wxMGL cannot be built without wxUniversal"
19#endif
05024233
VS
20
21/* wxPalette is always needed */
22#if !wxUSE_PALETTE
23# error "wxMGL requires wxUSE_PALETTE=1"
24#endif
25
5981cd22
VZ
26/*
27 wxDisplay is not implemented for OS/2, use stub common version instead.
28 */
29#if wxUSE_DISPLAY
30# undef wxUSE_DISPLAY
31# define wxUSE_DISPLAY 0
32#endif /* wxUSE_DISPLAY */
33
b8af111f
WS
34#ifdef __WATCOMC__
35
36/* Watcom builds for MGL port are setup.h driven and setup.h is
37 automatically generated from include/wx/setup_inc.h so we have
38 to disable here features not supported currently or enable
39 features required */
40
41#if wxUSE_STACKWALKER
42# undef wxUSE_STACKWALKER
43# define wxUSE_STACKWALKER 0
44#endif /* wxUSE_STACKWALKER */
45
46#if wxUSE_ACCEL
47# undef wxUSE_ACCEL
48# define wxUSE_ACCEL 0
49#endif /* wxUSE_ACCEL */
50
51#if wxUSE_DYNLIB_CLASS
52# undef wxUSE_DYNLIB_CLASS
53# define wxUSE_DYNLIB_CLASS 0
54#endif /* wxUSE_DYNLIB_CLASS */
55
56#if wxUSE_DYNAMIC_LOADER
57# undef wxUSE_DYNAMIC_LOADER
58# define wxUSE_DYNAMIC_LOADER 0
59#endif /* wxUSE_DYNAMIC_LOADER */
60
61#if wxUSE_ODBC
62# undef wxUSE_ODBC
63# define wxUSE_ODBC 0
64#endif /* wxUSE_ODBC */
65
66#if wxUSE_DATAOBJ
67# undef wxUSE_DATAOBJ
68# define wxUSE_DATAOBJ 0
69#endif
70
71#if wxUSE_CLIPBOARD
72# undef wxUSE_CLIPBOARD
73# define wxUSE_CLIPBOARD 0
74#endif /* wxUSE_CLIPBOARD */
75
76#if wxUSE_SOCKETS
77# undef wxUSE_SOCKETS
78# define wxUSE_SOCKETS 0
79#endif /* wxUSE_SOCKETS */
80
3ab14c03
WS
81#if wxUSE_THREADS
82# undef wxUSE_THREADS
83# define wxUSE_THREADS 0
84#endif /* wxUSE_SOCKETS */
85
b8af111f
WS
86#if wxUSE_PROTOCOL
87# undef wxUSE_PROTOCOL
88# define wxUSE_PROTOCOL 0
89#endif /* wxUSE_PROTOCOL */
90
91#if wxUSE_URL
92# undef wxUSE_URL
93# define wxUSE_URL 0
94#endif /* wxUSE_URL */
95
96#if wxUSE_FS_INET
97# undef wxUSE_FS_INET
98# define wxUSE_FS_INET 0
99#endif /* wxUSE_FS_INET */
100
47a2e1ee
WS
101#if wxUSE_MS_HTML_HELP
102# undef wxUSE_MS_HTML_HELP
103# define wxUSE_MS_HTML_HELP 0
104#endif
105
b8af111f
WS
106#endif /* __WATCOM__ */
107
108#endif /* _WX_MGL_CHKCONF_H_ */