X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4199367e9c1b04ce85c51947f09a10ee54c4f688..ff1b5f81af5dce8dac0c134f0e01adffc5334347:/include/wx/chkconf.h?ds=sidebyside diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index fe7da61551..2049b2d224 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -331,6 +331,14 @@ # endif #endif /* !defined(wxUSE_DATAOBJ) */ +#ifndef wxUSE_DISPLAY +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_DISPLAY must be defined." +# else +# define wxUSE_DISPLAY 0 +# endif +#endif /* !defined(wxUSE_DISPLAY) */ + #ifndef wxUSE_DOC_VIEW_ARCHITECTURE # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined." @@ -691,13 +699,13 @@ # endif #endif /* !defined(wxUSE_TREECTRL) */ -#ifndef wxUSE_DISPLAY +#ifndef wxUSE_VALIDATORS # ifdef wxABORT_ON_CONFIG_ERROR -# error "wxUSE_DISPLAY must be defined." +# error "wxUSE_VALIDATORS must be defined." # else -# define wxUSE_DISPLAY 0 +# define wxUSE_VALIDATORS 0 # endif -#endif /* !defined(wxUSE_TREECTRL) */ +#endif /* !defined(wxUSE_VALIDATORS) */ #ifndef wxUSE_WXHTML_HELP # ifdef wxABORT_ON_CONFIG_ERROR