git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68084
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
topsizer->Add(m_info, wxSizerFlags().Expand());
// Create the webview
- m_browser = wxWebView::New(this, wxID_ANY);
- m_browser->LoadUrl("http://www.wxwidgets.org");
+ m_browser = wxWebView::New(this, wxID_ANY, "http://www.wxwidgets.org");
topsizer->Add(m_browser, wxSizerFlags().Expand().Proportion(1));
SetSizer(topsizer);
SetBackgroundStyle(wxBG_STYLE_PAINT);
SetDoubleBuffered(true);
+ LoadUrl(url);
return true;
}