diff --git a/tests/controls/webtest.cpp b/tests/controls/webtest.cpp index c7055d895f..3f1ad5e0ca 100644 --- a/tests/controls/webtest.cpp +++ b/tests/controls/webtest.cpp @@ -45,7 +45,11 @@ public: } else #endif +#if wxUSE_WEBVIEW_WEBKIT2 + m_alternateHistoryURL = "about:srcdoc"; +#else m_alternateHistoryURL = "about:"; +#endif } ~WebViewTestCase()