X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/236cff7334bfd8020adc3fba134641fc7b189622..e5354813181461c154044d52a464b29fa1aefaf8:/tests/controls/webtest.cpp?ds=sidebyside diff --git a/tests/controls/webtest.cpp b/tests/controls/webtest.cpp index 6b9e093e00..6e7bd6da4c 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:blank"); ENSURE_LOADED; }