X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7ae4a62645d369fbd6b8b5f3f0e12ee86536da1..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/dfb/chkconf.h?ds=sidebyside diff --git a/include/wx/dfb/chkconf.h b/include/wx/dfb/chkconf.h index 290fb62220..705890fc7b 100644 --- a/include/wx/dfb/chkconf.h +++ b/include/wx/dfb/chkconf.h @@ -21,4 +21,22 @@ # error "wxFileConfig is required by wxDFB port" #endif +#if wxUSE_SOCKETS && !wxUSE_CONSOLE_EVENTLOOP +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxSocket requires wxSelectDispatcher in wxDFB" +# else +# undef wxUSE_CONSOLE_EVENTLOOP +# define wxUSE_CONSOLE_EVENTLOOP 1 +# endif +#endif + +#if wxUSE_DATAOBJ +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxDataObject not supported in wxDFB" +# else +# undef wxUSE_DATAOBJ +# define wxUSE_DATAOBJ 0 +# endif +#endif + #endif /* _WX_DFB_CHKCONF_H_ */