From: Steve Lamerton Date: Tue, 28 Jun 2011 17:06:28 +0000 (+0000) Subject: Don't use a depreciated method for loading a url. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b5374b5cfa33cca0053761178fedcba1ddc7a5d9?ds=sidebyside;hp=b64b4e70f1db0c53683327dc062548e8cf984810 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 --- diff --git a/src/gtk/webview_webkit.cpp b/src/gtk/webview_webkit.cpp index 0cba787507..b838f79d9d 100644 --- a/src/gtk/webview_webkit.cpp +++ b/src/gtk/webview_webkit.cpp @@ -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)); }