From 32cc8d13b874bbe49499fed08fe69f7caec38c1d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 16 Sep 2011 22:44:11 +0000 Subject: [PATCH] Check for wxUSE_WEBVIEW being defined. All wxUSE_XXX options must be always defined as we test for them with #if and not #ifdef, so check for this one too for consistency. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index c5fbd78967..6f8c330ed0 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1157,6 +1157,14 @@ # endif #endif /* !defined(wxUSE_VALIDATORS) */ +#ifndef wxUSE_WEBVIEW +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_WEBVIEW must be defined, please read comment near the top of this file." +# else +# define wxUSE_WEBVIEW 0 +# endif +#endif /* !defined(wxUSE_WEBVIEW) */ + #ifndef wxUSE_WXHTML_HELP # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_WXHTML_HELP must be defined, please read comment near the top of this file." -- 2.45.2