]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/controls/webtest.cpp
Add empty paragraph in wxRichTextTable::AddColumns() and AddRows().
[wxWidgets.git] / tests / controls / webtest.cpp
index 6b9e093e00e54f0c55ab703685dd8f099eff7a70..533f1da461785fc76da9f80917179737be169aa1 100644 (file)
@@ -79,7 +79,8 @@ void WebTestCase::setUp()
 {
     m_browser = wxWebView::New(wxTheApp->GetTopWindow(), wxID_ANY);
 
 {
     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;
 }
 
     ENSURE_LOADED;
 }