Don't use a depreciated method for loading a url.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-06-28 17:06:28 +00:00
parent b64b4e70f1
commit b5374b5cfa

View File

@@ -358,7 +358,7 @@ void wxWebViewWebKit::Reload(wxWebViewReloadFlags flags)
void wxWebViewWebKit::LoadUrl(const wxString& url)
{
webkit_web_view_open(WEBKIT_WEB_VIEW(web_view), wxGTK_CONV(url));
webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), wxGTK_CONV(url));
}