2005-10-31 12:00:43 -05:00
|
|
|
/*
|
|
|
|
* Name: wx/mgl/chkconf.h
|
|
|
|
* Purpose: Compiler-specific configuration checking
|
|
|
|
* Author: Julian Smart
|
|
|
|
* Modified by:
|
|
|
|
* Created: 01/02/97
|
|
|
|
* RCS-ID: $Id$
|
|
|
|
* Copyright: (c) Julian Smart
|
|
|
|
* Licence: wxWindows licence
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
|
|
|
|
|
|
|
|
#ifndef _WX_MGL_CHKCONF_H_
|
|
|
|
#define _WX_MGL_CHKCONF_H_
|
|
|
|
|
2006-08-10 06:09:34 -04:00
|
|
|
#ifndef __WXUNIVERSAL__
|
|
|
|
# error "wxMGL cannot be built without wxUniversal"
|
|
|
|
#endif
|
2006-08-01 05:01:01 -04:00
|
|
|
|
|
|
|
/* wxPalette is always needed */
|
|
|
|
#if !wxUSE_PALETTE
|
|
|
|
# error "wxMGL requires wxUSE_PALETTE=1"
|
|
|
|
#endif
|
|
|
|
|
2006-03-28 09:17:42 -05:00
|
|
|
/*
|
|
|
|
wxDisplay is not implemented for OS/2, use stub common version instead.
|
|
|
|
*/
|
|
|
|
#if wxUSE_DISPLAY
|
|
|
|
# undef wxUSE_DISPLAY
|
|
|
|
# define wxUSE_DISPLAY 0
|
|
|
|
#endif /* wxUSE_DISPLAY */
|
|
|
|
|
2005-10-31 12:00:43 -05:00
|
|
|
#ifdef __WATCOMC__
|
|
|
|
|
|
|
|
/* Watcom builds for MGL port are setup.h driven and setup.h is
|
|
|
|
automatically generated from include/wx/setup_inc.h so we have
|
|
|
|
to disable here features not supported currently or enable
|
|
|
|
features required */
|
|
|
|
|
|
|
|
#if wxUSE_STACKWALKER
|
|
|
|
# undef wxUSE_STACKWALKER
|
|
|
|
# define wxUSE_STACKWALKER 0
|
|
|
|
#endif /* wxUSE_STACKWALKER */
|
|
|
|
|
|
|
|
#if wxUSE_ACCEL
|
|
|
|
# undef wxUSE_ACCEL
|
|
|
|
# define wxUSE_ACCEL 0
|
|
|
|
#endif /* wxUSE_ACCEL */
|
|
|
|
|
|
|
|
#if wxUSE_DYNLIB_CLASS
|
|
|
|
# undef wxUSE_DYNLIB_CLASS
|
|
|
|
# define wxUSE_DYNLIB_CLASS 0
|
|
|
|
#endif /* wxUSE_DYNLIB_CLASS */
|
|
|
|
|
|
|
|
#if wxUSE_DYNAMIC_LOADER
|
|
|
|
# undef wxUSE_DYNAMIC_LOADER
|
|
|
|
# define wxUSE_DYNAMIC_LOADER 0
|
|
|
|
#endif /* wxUSE_DYNAMIC_LOADER */
|
|
|
|
|
|
|
|
#if wxUSE_ODBC
|
|
|
|
# undef wxUSE_ODBC
|
|
|
|
# define wxUSE_ODBC 0
|
|
|
|
#endif /* wxUSE_ODBC */
|
|
|
|
|
|
|
|
#if wxUSE_DATAOBJ
|
|
|
|
# undef wxUSE_DATAOBJ
|
|
|
|
# define wxUSE_DATAOBJ 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if wxUSE_CLIPBOARD
|
|
|
|
# undef wxUSE_CLIPBOARD
|
|
|
|
# define wxUSE_CLIPBOARD 0
|
|
|
|
#endif /* wxUSE_CLIPBOARD */
|
|
|
|
|
|
|
|
#if wxUSE_SOCKETS
|
|
|
|
# undef wxUSE_SOCKETS
|
|
|
|
# define wxUSE_SOCKETS 0
|
|
|
|
#endif /* wxUSE_SOCKETS */
|
|
|
|
|
2006-01-08 19:03:54 -05:00
|
|
|
#if wxUSE_THREADS
|
|
|
|
# undef wxUSE_THREADS
|
|
|
|
# define wxUSE_THREADS 0
|
|
|
|
#endif /* wxUSE_SOCKETS */
|
|
|
|
|
2005-10-31 12:00:43 -05:00
|
|
|
#if wxUSE_PROTOCOL
|
|
|
|
# undef wxUSE_PROTOCOL
|
|
|
|
# define wxUSE_PROTOCOL 0
|
|
|
|
#endif /* wxUSE_PROTOCOL */
|
|
|
|
|
|
|
|
#if wxUSE_URL
|
|
|
|
# undef wxUSE_URL
|
|
|
|
# define wxUSE_URL 0
|
|
|
|
#endif /* wxUSE_URL */
|
|
|
|
|
|
|
|
#if wxUSE_FS_INET
|
|
|
|
# undef wxUSE_FS_INET
|
|
|
|
# define wxUSE_FS_INET 0
|
|
|
|
#endif /* wxUSE_FS_INET */
|
|
|
|
|
2006-06-20 10:45:56 -04:00
|
|
|
#if wxUSE_MS_HTML_HELP
|
|
|
|
# undef wxUSE_MS_HTML_HELP
|
|
|
|
# define wxUSE_MS_HTML_HELP 0
|
|
|
|
#endif
|
|
|
|
|
2005-10-31 12:00:43 -05:00
|
|
|
#endif /* __WATCOM__ */
|
|
|
|
|
|
|
|
#endif /* _WX_MGL_CHKCONF_H_ */
|