X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d156af3247c862e51a7c62f569a3fd302052a42..616c0d1f3ac084bb92f0a75dc48812e8647f1b22:/include/wx/gtk/webviewhistoryitem_webkit.h?ds=sidebyside diff --git a/include/wx/gtk/webviewhistoryitem_webkit.h b/include/wx/gtk/webviewhistoryitem_webkit.h index 071f3fb9ff..344f601018 100644 --- a/include/wx/gtk/webviewhistoryitem_webkit.h +++ b/include/wx/gtk/webviewhistoryitem_webkit.h @@ -12,14 +12,12 @@ #include "wx/setup.h" -#if wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__) - -#include "webkit/webkit.h" +#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__) class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem { public: - wxWebViewHistoryItem(const wxString& url, const wxString& title) : + wxWebViewHistoryItem(const wxString& url, const wxString& title) : m_url(url), m_title(title) {} wxString GetUrl() { return m_url; } wxString GetTitle() { return m_title; } @@ -28,9 +26,9 @@ public: private: wxString m_url, m_title; - WebKitWebHistoryItem* m_histItem; + void* m_histItem; }; -#endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__) +#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__) #endif // _WX_GTK_WEBVIEWHISTORYITEM_H_