X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8af111fa5d3916e6f42fee3af0ab1bec0ace7b6..74be7431f33dd73780641ecfd66d8308b0feb0c4:/include/wx/mgl/chkconf.h diff --git a/include/wx/mgl/chkconf.h b/include/wx/mgl/chkconf.h index c8664d4b73..85136cfe99 100644 --- a/include/wx/mgl/chkconf.h +++ b/include/wx/mgl/chkconf.h @@ -14,6 +14,23 @@ #ifndef _WX_MGL_CHKCONF_H_ #define _WX_MGL_CHKCONF_H_ +#ifndef __WXUNIVERSAL__ +# error "wxMGL cannot be built without wxUniversal" +#endif + +/* wxPalette is always needed */ +#if !wxUSE_PALETTE +# error "wxMGL requires wxUSE_PALETTE=1" +#endif + +/* + 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 */ + #ifdef __WATCOMC__ /* Watcom builds for MGL port are setup.h driven and setup.h is @@ -61,6 +78,11 @@ # define wxUSE_SOCKETS 0 #endif /* wxUSE_SOCKETS */ +#if wxUSE_THREADS +# undef wxUSE_THREADS +# define wxUSE_THREADS 0 +#endif /* wxUSE_SOCKETS */ + #if wxUSE_PROTOCOL # undef wxUSE_PROTOCOL # define wxUSE_PROTOCOL 0 @@ -76,6 +98,11 @@ # define wxUSE_FS_INET 0 #endif /* wxUSE_FS_INET */ +#if wxUSE_MS_HTML_HELP +# undef wxUSE_MS_HTML_HELP +# define wxUSE_MS_HTML_HELP 0 +#endif + #endif /* __WATCOM__ */ #endif /* _WX_MGL_CHKCONF_H_ */