X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47a2e1ee4ba6cbaabc91525253947daf96c52490..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/mgl/chkconf.h?ds=inline diff --git a/include/wx/mgl/chkconf.h b/include/wx/mgl/chkconf.h index 302d72a2ce..12ebd70cde 100644 --- a/include/wx/mgl/chkconf.h +++ b/include/wx/mgl/chkconf.h @@ -14,6 +14,15 @@ #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. */ @@ -49,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