]> git.saurik.com Git - wxWidgets.git/commitdiff
Only build the wxWebView tests if there is an available backend.
authorSteve Lamerton <steve.lamerton@gmail.com>
Wed, 14 Sep 2011 07:39:28 +0000 (07:39 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Wed, 14 Sep 2011 07:39:28 +0000 (07:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/controls/webtest.cpp

index 7083d063bb84a13d80b1fc14d129cb47ff36c7b2..7ab8a7570e7f382e3067b50b7da282d18f8d8ecd 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "testprec.h"
 
 
 #include "testprec.h"
 
-#if wxUSE_WEBVIEW
+#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE)
 
 #ifdef __BORLANDC__
     #pragma hdrstop
 
 #ifdef __BORLANDC__
     #pragma hdrstop
@@ -244,4 +244,4 @@ void WebTestCase::RunScript()
     CPPUNIT_ASSERT_EQUAL("Hello World!", m_browser->GetPageText());
 }
 
     CPPUNIT_ASSERT_EQUAL("Hello World!", m_browser->GetPageText());
 }
 
-#endif //wxUSE_WEBVIEW
+#endif //wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE)