]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/webviewhistoryitem_webkit.h
Unselect all wxDataViewCtrl items when clicking outside of the item area.
[wxWidgets.git] / include / wx / osx / webviewhistoryitem_webkit.h
CommitLineData
eafdb19c 1/////////////////////////////////////////////////////////////////////////////
c13d6ac1
SL
2// Name: include/wx/osx/webviewhistoryitem.h
3// Purpose: wxWebViewHistoryItem header for OSX
eafdb19c
SL
4// Author: Steven Lamerton
5// Id: $Id$
6// Copyright: (c) 2011 Steven Lamerton
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
c13d6ac1
SL
10#ifndef _WX_OSX_WEBVIEWHISTORYITEM_H_
11#define _WX_OSX_WEBVIEWHISTORYITEM_H_
eafdb19c
SL
12
13#include "wx/setup.h"
14
9d2f31db
SL
15#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
16 || defined(__WXOSX_CARBON__))
eafdb19c 17
fcb9299b 18#include "wx/osx/core/objcid.h"
d92f48bd 19
467d261e 20class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
eafdb19c
SL
21{
22public:
c13d6ac1 23 wxWebViewHistoryItem(const wxString& url, const wxString& title) :
eafdb19c
SL
24 m_url(url), m_title(title) {}
25 wxString GetUrl() { return m_url; }
26 wxString GetTitle() { return m_title; }
27
515fd027
SL
28 friend class wxWebViewWebKit;
29
eafdb19c
SL
30private:
31 wxString m_url, m_title;
d92f48bd 32 wxObjCID m_histItem;
eafdb19c
SL
33};
34
34326da7 35#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
eafdb19c 36
c13d6ac1 37#endif // _WX_OSX_WEBVIEWHISTORYITEM_H_