]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use a depreciated method for loading a url.
authorSteve Lamerton <steve.lamerton@gmail.com>
Tue, 28 Jun 2011 17:06:28 +0000 (17:06 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Tue, 28 Jun 2011 17:06:28 +0000 (17:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/webview_webkit.cpp

index 0cba78750720f523e67ee35b8c8f4c84cb80897d..b838f79d9dc13566cb9a4d064f2518220a2b14f6 100644 (file)
@@ -358,7 +358,7 @@ void wxWebViewWebKit::Reload(wxWebViewReloadFlags flags)
 
 void wxWebViewWebKit::LoadUrl(const wxString& url)
 {
 
 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));
 }
 
 
 }