From 30e2c04682172cb020da6a9063dd35ec84cacdb8 Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Wed, 14 Sep 2011 07:39:28 +0000 Subject: [PATCH] Only build the wxWebView tests if there is an available backend. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/controls/webtest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/controls/webtest.cpp b/tests/controls/webtest.cpp index 7083d063bb..7ab8a7570e 100644 --- a/tests/controls/webtest.cpp +++ b/tests/controls/webtest.cpp @@ -9,7 +9,7 @@ #include "testprec.h" -#if wxUSE_WEBVIEW +#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) #ifdef __BORLANDC__ #pragma hdrstop @@ -244,4 +244,4 @@ void WebTestCase::RunScript() CPPUNIT_ASSERT_EQUAL("Hello World!", m_browser->GetPageText()); } -#endif //wxUSE_WEBVIEW +#endif //wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) -- 2.47.2