wxMGL revitalised with OpenWatcom.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-10-31 17:00:43 +00:00
parent fcdbeefa4e
commit b8af111fa5
11 changed files with 137 additions and 1 deletions

View File

@@ -25,6 +25,8 @@
# include "wx/mac/chkconf.h"
#elif defined(__OS2__)
# include "wx/os2/chkconf.h"
#elif defined(__WXMGL__)
# include "wx/mgl/chkconf.h"
#elif defined(__WXMOTIF__)
# include "wx/motif/chkconf.h"
#endif

81
include/wx/mgl/chkconf.h Normal file
View File

@@ -0,0 +1,81 @@
/*
* 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_
#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 */
#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 */
#endif /* __WATCOM__ */
#endif /* _WX_MGL_CHKCONF_H_ */

View File

@@ -55,6 +55,11 @@
# include "wx/os2/private.h"
#endif
// include mgl headers
#ifdef __WXMGL__
# include "wx/mgl/private.h"
#endif
// include the most common wx headers
#include "wx/wx.h"