</set>
<set var="WEB_HDR_PLATFORM" hints="files">
- <if cond="TOOLKIT=='MSW'">wx/msw/webview_ie.h</if>
- <if cond="PLATFORM_UNIX=='1'">wx/gtk/webview_webkit.h</if>
- <if cond="PLATFORM_MACOSX=='1'">wx/osx/webview_webkit.h</if>
+ <if cond="TOOLKIT=='MSW'">
+ wx/msw/webhistoryitem_ie.h
+ wx/msw/webview_ie.h
+ </if>
+ <if cond="PLATFORM_UNIX=='1'">
+ wx/gtk/webhistoryitem_webkit.h
+ wx/gtk/webview_webkit.h
+ </if>
+ <if cond="PLATFORM_MACOSX=='1'">
+ wx/osx/webhistoryitem_webkit.h
+ wx/osx/webview_webkit.h
+ </if>
</set>
<set var="WEB_HDR" hints="files">
$(WEB_HDR_PLATFORM)
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: include/wx/gtk/webhistoryitem.h
+// Purpose: wxWebHistoryItem header for GTK
+// Author: Steven Lamerton
+// Id: $Id$
+// Copyright: (c) 2011 Steven Lamerton
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_GTK_WEBHISTORYITEM_H_
+#define _WX_GTK_WEBHISTORYITEM_H_
+
+#include "wx/setup.h"
+
+#if wxUSE_WEBVIEW_WEBKIT
+
+class WXDLLIMPEXP_WEB wxWebHistoryItem
+{
+public:
+ wxWebHistoryItem(const wxString& url, const wxString& title) :
+ m_url(url), m_title(title) {}
+ wxString GetUrl() { return m_url; }
+ wxString GetTitle() { return m_title; }
+
+private:
+ wxString m_url, m_title;
+};
+
+#endif // wxUSE_WEBVIEW_WEBKIT
+
+#endif // _WX_GTK_WEBHISTORYITEM_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: include/wx/msw/webhistoryitem.h
+// Purpose: wxWebHistoryItem header for MSW
+// Author: Steven Lamerton
+// Id: $Id$
+// Copyright: (c) 2011 Steven Lamerton
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_MSW_WEBHISTORYITEM_H_
+#define _WX_MSW_WEBHISTORYITEM_H_
+
+#include "wx/setup.h"
+
+#if wxUSE_WEBVIEW_IE
+
+class WXDLLIMPEXP_WEB wxWebHistoryItem
+{
+public:
+ wxWebHistoryItem(const wxString& url, const wxString& title) :
+ m_url(url), m_title(title) {}
+ wxString GetUrl() { return m_url; }
+ wxString GetTitle() { return m_title; }
+
+private:
+ wxString m_url, m_title;
+};
+
+#endif // wxUSE_WEBVIEW_IE
+
+#endif // _WX_MSW_WEBHISTORYITEM_H_
--- /dev/null
+/////////////////////////////////////////////////////////////////////////////
+// Name: include/wx/osx/webhistoryitem.h
+// Purpose: wxWebHistoryItem header for OSX
+// Author: Steven Lamerton
+// Id: $Id$
+// Copyright: (c) 2011 Steven Lamerton
+// Licence: wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_OSX_WEBHISTORYITEM_H_
+#define _WX_OSX_WEBHISTORYITEM_H_
+
+#include "wx/setup.h"
+
+#if wxUSE_WEBVIEW_WEBKIT
+
+class WXDLLIMPEXP_WEB wxWebHistoryItem
+{
+public:
+ wxWebHistoryItem(const wxString& url, const wxString& title) :
+ m_url(url), m_title(title) {}
+ wxString GetUrl() { return m_url; }
+ wxString GetTitle() { return m_title; }
+
+private:
+ wxString m_url, m_title;
+};
+
+#endif // wxUSE_WEBVIEW_WEBKIT
+
+#endif // _WX_OSX_WEBHISTORYITEM_H_
#include "wx/sharedptr.h"
#include "wx/vector.h"
+#include "wx/osx/webhistoryitem_webkit.h"
+#include "wx/gtk/webhistoryitem_webkit.h"
+#include "wx/msw/webhistoryitem_ie.h"
+
class wxFSFile;
class wxFileSystem;
-class WXDLLIMPEXP_WEB wxWebHistoryItem
-{
-public:
- wxWebHistoryItem(const wxString& url, const wxString& title) :
- m_url(url), m_title(title) {}
- wxString GetUrl() { return m_url; }
- wxString GetTitle() { return m_title; }
-
-private:
- wxString m_url, m_title;
-};
/**
* Zoom level in web view component