X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3beb50e570f1b4f7a97c767677451ffc558fa22f..e924e848f74c0857443255d5a4ac300e08ba7c47:/tests/controls/webtest.cpp diff --git a/tests/controls/webtest.cpp b/tests/controls/webtest.cpp index ae4cfe2245..7ab8a7570e 100644 --- a/tests/controls/webtest.cpp +++ b/tests/controls/webtest.cpp @@ -9,7 +9,7 @@ #include "testprec.h" -#if wxUSE_WEB +#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) #ifdef __BORLANDC__ #pragma hdrstop @@ -88,9 +88,9 @@ void WebTestCase::LoadUrl(int times) for(int i = 0; i < times; i++) { if(i % 2 == 1) - m_browser->LoadUrl("about:blank"); + m_browser->LoadURL("about:blank"); else - m_browser->LoadUrl("about:"); + m_browser->LoadURL("about:"); wxYield(); } } @@ -244,4 +244,4 @@ void WebTestCase::RunScript() CPPUNIT_ASSERT_EQUAL("Hello World!", m_browser->GetPageText()); } -#endif //wxUSE_WEB +#endif //wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE)