git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69770
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
-#include "webkit/webkit.h"
#include "wx/sharedptr.h"
#include "wx/webview.h"
void GTKOnFocus(wxFocusEvent& event);
GtkWidget *web_view;
- gint m_historyLimit;
+ int m_historyLimit;
wxVector<wxSharedPtr<wxWebViewHandler> > m_handlerList;
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
-#include "webkit/webkit.h"
-
class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
{
public:
private:
wxString m_url, m_title;
- WebKitWebHistoryItem* m_histItem;
+ void* m_histItem;
};
#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
#include "wx/gtk/private.h"
#include "wx/filesys.h"
#include "wx/base64.h"
-#include "webkit/webkit.h"
+#include <webkit/webkit.h>
// ----------------------------------------------------------------------------
// GTK callbacks
void wxWebViewWebKit::LoadHistoryItem(wxSharedPtr<wxWebViewHistoryItem> item)
{
- WebKitWebHistoryItem* gtkitem = item->m_histItem;
+ WebKitWebHistoryItem* gtkitem = (WebKitWebHistoryItem*)item->m_histItem;
if(gtkitem)
{
WebKitWebBackForwardList* history;