<set var="TOOLKIT" overwrite="0">
<if cond="FORMAT=='msevc4prj'">WINCE</if>
<if cond="FORMAT!='msevc4prj' and PLATFORM_WIN32=='1'">MSW</if>
- <if cond="PLATFORM_MSDOS=='1'">DOS</if>
+ <if cond="PLATFORM_MSDOS=='1'">MGL</if>
<if cond="PLATFORM_OS2=='1'">PM</if>
</set>
<set var="TOOLKIT_LOWERCASE">$(TOOLKIT.lower())</set>
<set var="USE_EXCEPTIONS">0</set>
</if>
+ <!-- Need for wxUniv within wxMGL: -->
+ <if cond="TOOLKIT=='MGL'">
+ <set var="WXUNIV">1</set>
+ </if>
+
</makefile>
<?xml version="1.0" ?>
+<!-- $Id$ -->
+
<makefile>
<if cond="FORMAT=='autoconf'">
<define cond="FORMAT=='watcom' and PLATFORM_OS2=='1'">
OS2_32
</define>
+ <define cond="FORMAT=='watcom' and PLATFORM_MSDOS=='1'">
+ __MSDOS__
+ </define>
<cflags-borland>-w-8004 -w-8008 -w-8012 -w-8057 -w-8066</cflags-borland>
<sources>
src/expat/lib/xmlparse.c
wx/mgl/app.h
wx/mgl/bitmap.h
wx/mgl/brush.h
+ wx/mgl/chkconf.h
wx/mgl/clipbrd.h
wx/mgl/colour.h
wx/mgl/cursor.h
<?xml version="1.0" ?>
+<!-- $Id$ -->
+
<makefile>
<if cond="FORMAT=='autoconf'">
<cflags-borland>-w-8004 -w-8012 -w-8057 -w-8060 -w-8066</cflags-borland>
<cflags-dmars>-w2</cflags-dmars>
<define cond="PLATFORM_OS2=='1' and FORMAT=='watcom'">OS2_32</define>
+ <define cond="PLATFORM_MSDOS=='1' and FORMAT=='watcom'">__MSDOS__</define>
<sources>
$(TIFF_PLATFORM_SRC)
src/tiff/tif_aux.c
# 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
--- /dev/null
+/*
+ * 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_ */
# 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"
--- /dev/null
+/*================================================================
+** Copyright 2000, Clark Cooper
+** All rights reserved.
+**
+** This is free software. You are permitted to copy, distribute, or modify
+** it under the terms of the MIT/X license (contained in the COPYING file
+** with this distribution.)
+*/
+
+#ifndef DOSCONFIG_H
+#define DOSCONFIG_H
+
+#include <memory.h>
+#include <string.h>
+
+#define XML_NS 1
+#define XML_DTD 1
+#define XML_CONTEXT_BYTES 1024
+
+/* we will assume all DOS platforms are little endian */
+#define BYTEORDER 1234
+
+#define HAVE_BCOPY
+
+#endif /* ndef DOSCONFIG_H */
#include "os2config.h"
#include "expat.h"
+#elif defined(__MSDOS__)
+
+#include "dosconfig.h"
+#include "expat.h"
+
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
#include "winconfig.h"
#elif defined(OS2_32)
#include "os2config.h"
+#elif defined(__MSDOS__)
+#include "dosconfig.h"
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
#else
#include "winconfig.h"
#elif defined(OS2_32)
#include "os2config.h"
+#elif defined(__MSDOS__)
+#include "dosconfig.h"
#elif defined(MACOS_CLASSIC)
#include "macconfig.h"
#else