X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/236cff7334bfd8020adc3fba134641fc7b189622..a9fd42ccebb2534cfd3910bc7108171f4ee6d54b:/tests/controls/webtest.cpp diff --git a/tests/controls/webtest.cpp b/tests/controls/webtest.cpp index 6b9e093e00..533f1da461 100644 --- a/tests/controls/webtest.cpp +++ b/tests/controls/webtest.cpp @@ -79,7 +79,8 @@ void WebTestCase::setUp() { m_browser = wxWebView::New(wxTheApp->GetTopWindow(), wxID_ANY); - m_loaded = new EventCounter(m_browser, wxEVT_COMMAND_WEBVIEW_LOADED); + m_loaded = new EventCounter(m_browser, wxEVT_WEBVIEW_LOADED); + m_browser->LoadURL("about:"); ENSURE_LOADED; }