]> 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 61e33298c39bced52f58f1c5269b5309b1ab1969..533f1da461785fc76da9f80917179737be169aa1 100644 (file)
@@ -77,10 +77,10 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( WebTestCase, "WebTestCase" );
 
 void WebTestCase::setUp()
 {
-    m_loaded = new EventCounter(m_browser, wxEVT_WEBVIEW_LOADED);
-
     m_browser = wxWebView::New(wxTheApp->GetTopWindow(), wxID_ANY);
 
+    m_loaded = new EventCounter(m_browser, wxEVT_WEBVIEW_LOADED);
+    m_browser->LoadURL("about:");
     ENSURE_LOADED;
 }