#include "testprec.h"
-#if wxUSE_WEBVIEW
+#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE)
#ifdef __BORLANDC__
#pragma hdrstop
CPPUNIT_ASSERT_EQUAL("Hello World!", m_browser->GetPageText());
}
-#endif //wxUSE_WEBVIEW
+#endif //wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE)