From b5374b5cfa33cca0053761178fedcba1ddc7a5d9 Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Tue, 28 Jun 2011 17:06:28 +0000 Subject: [PATCH] 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 --- src/gtk/webview_webkit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.45.2