X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c13d6ac1ea199d1e3908d40d129e2fd5a4d82df7..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/osx/webviewhistoryitem_webkit.h diff --git a/include/wx/osx/webviewhistoryitem_webkit.h b/include/wx/osx/webviewhistoryitem_webkit.h index 97a23d265e..deeea9ba41 100644 --- a/include/wx/osx/webviewhistoryitem_webkit.h +++ b/include/wx/osx/webviewhistoryitem_webkit.h @@ -12,10 +12,12 @@ #include "wx/setup.h" -#if wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \ - || defined(__WXOSX_CARBON__)) +#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \ + || defined(__WXOSX_CARBON__)) -class WXDLLIMPEXP_WEB wxWebViewHistoryItem +#include "wx/osx/core/objcid.h" + +class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem { public: wxWebViewHistoryItem(const wxString& url, const wxString& title) : @@ -27,9 +29,9 @@ public: private: wxString m_url, m_title; - struct objc_object *m_histItem; + wxObjCID m_histItem; }; -#endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXOSX_MAC__) +#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT #endif // _WX_OSX_WEBVIEWHISTORYITEM_H_