diff --git a/tests/controls/webtest.cpp b/tests/controls/webtest.cpp index d12479621e..533f1da461 100644 --- a/tests/controls/webtest.cpp +++ b/tests/controls/webtest.cpp @@ -80,7 +80,7 @@ void WebTestCase::setUp() m_browser = wxWebView::New(wxTheApp->GetTopWindow(), wxID_ANY); m_loaded = new EventCounter(m_browser, wxEVT_WEBVIEW_LOADED); - m_browser->LoadUrl("about:"); + m_browser->LoadURL("about:"); ENSURE_LOADED; }