X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef1717a963dfb76bac26b9f4277ae590b3c0a2e6..26dd7154d5b4ab79db3cf4a6dc07c6404e6e14d8:/include/wx/mgl/chkconf.h diff --git a/include/wx/mgl/chkconf.h b/include/wx/mgl/chkconf.h index ab3271487f..12ebd70cde 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 @@ -41,11 +58,6 @@ # 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 @@ -56,11 +68,6 @@ # define wxUSE_CLIPBOARD 0 #endif /* wxUSE_CLIPBOARD */ -#if wxUSE_DISPLAY -# undef wxUSE_DISPLAY -# define wxUSE_DISPLAY 0 -#endif /* wxUSE_DISPLAY */ - #if wxUSE_SOCKETS # undef wxUSE_SOCKETS # define wxUSE_SOCKETS 0 @@ -86,6 +93,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_ */