Fix loading history items under GTK. The wrong function was being used.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-08-13 09:41:50 +00:00
parent fe104ff925
commit 013cda40d8

View File

@@ -597,7 +597,7 @@ void wxWebViewWebKit::LoadHistoryItem(wxSharedPtr<wxWebHistoryItem> item)
{
WebKitWebBackForwardList* history;
history = webkit_web_view_get_back_forward_list(WEBKIT_WEB_VIEW(web_view));
webkit_web_back_forward_list_go_to_item(WEBKIT_WEB_BACK_FORWARD_LIST(history),
webkit_web_view_go_to_back_forward_item(WEBKIT_WEB_VIEW(web_view),
WEBKIT_WEB_HISTORY_ITEM(gtkitem));
}
}