Fix checks for wxUSE_WEBVIEW in MSW config checks
This fixes -Wundef warnings about "wxUSE_WEB" being not defined when OLE support is disabled.
This commit is contained in:
@@ -383,12 +383,12 @@
|
|||||||
# define wxUSE_MEDIACTRL 0
|
# define wxUSE_MEDIACTRL 0
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# if wxUSE_WEB
|
# if wxUSE_WEBVIEW
|
||||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||||
# error "wxWebView requires wxActiveXContainer under MSW"
|
# error "wxWebView requires wxActiveXContainer under MSW"
|
||||||
# else
|
# else
|
||||||
# undef wxUSE_WEB
|
# undef wxUSE_WEBVIEW
|
||||||
# define wxUSE_WEB 0
|
# define wxUSE_WEBVIEW 0
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif /* !wxUSE_ACTIVEX */
|
#endif /* !wxUSE_ACTIVEX */
|
||||||
@@ -431,12 +431,12 @@
|
|||||||
|
|
||||||
|
|
||||||
#if !wxUSE_OLE_AUTOMATION
|
#if !wxUSE_OLE_AUTOMATION
|
||||||
# if wxUSE_WEB
|
# if wxUSE_WEBVIEW
|
||||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||||
# error "wxWebView requires wxUSE_OLE_AUTOMATION under MSW"
|
# error "wxWebView requires wxUSE_OLE_AUTOMATION under MSW"
|
||||||
# else
|
# else
|
||||||
# undef wxUSE_WEB
|
# undef wxUSE_WEBVIEW
|
||||||
# define wxUSE_WEB 0
|
# define wxUSE_WEBVIEW 0
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
#endif /* !wxUSE_OLE_AUTOMATION */
|
#endif /* !wxUSE_OLE_AUTOMATION */
|
||||||
|
Reference in New Issue
Block a user