2011-05-04 14:24:30 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: webview.h
|
|
|
|
// Purpose: Common interface and events for web view component
|
|
|
|
// Author: Marianne Gagnon
|
|
|
|
// Id: $Id$
|
2011-07-30 07:26:55 -04:00
|
|
|
// Copyright: (c) 2010 Marianne Gagnon, 2011 Steven Lamerton
|
2011-05-04 14:24:30 -04:00
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2013-02-01 04:38:53 -05:00
|
|
|
#ifndef _WX_WEBVIEW_H_
|
|
|
|
#define _WX_WEBVIEW_H_
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2011-11-30 05:21:40 -05:00
|
|
|
#include "wx/defs.h"
|
2011-05-05 16:30:51 -04:00
|
|
|
|
2011-09-16 18:44:17 -04:00
|
|
|
#if wxUSE_WEBVIEW
|
2011-05-05 16:30:51 -04:00
|
|
|
|
2011-08-11 04:43:13 -04:00
|
|
|
#include "wx/control.h"
|
|
|
|
#include "wx/event.h"
|
|
|
|
#include "wx/sstream.h"
|
2011-07-01 06:57:37 -04:00
|
|
|
#include "wx/sharedptr.h"
|
2011-07-02 10:32:02 -04:00
|
|
|
#include "wx/vector.h"
|
2011-07-01 06:57:37 -04:00
|
|
|
|
2011-11-30 05:21:43 -05:00
|
|
|
#if defined(__WXOSX__)
|
|
|
|
#include "wx/osx/webviewhistoryitem_webkit.h"
|
|
|
|
#elif defined(__WXGTK__)
|
|
|
|
#include "wx/gtk/webviewhistoryitem_webkit.h"
|
|
|
|
#elif defined(__WXMSW__)
|
|
|
|
#include "wx/msw/webviewhistoryitem_ie.h"
|
|
|
|
#else
|
|
|
|
#error "wxWebView not implemented on this platform."
|
|
|
|
#endif
|
2011-07-31 10:06:33 -04:00
|
|
|
|
2011-07-28 12:08:59 -04:00
|
|
|
class wxFSFile;
|
2011-07-28 12:49:48 -04:00
|
|
|
class wxFileSystem;
|
2013-01-13 14:22:24 -05:00
|
|
|
class wxWebView;
|
2011-07-28 12:08:59 -04:00
|
|
|
|
2011-05-04 14:24:30 -04:00
|
|
|
enum wxWebViewZoom
|
|
|
|
{
|
2013-02-01 04:38:53 -05:00
|
|
|
wxWEBVIEW_ZOOM_TINY,
|
|
|
|
wxWEBVIEW_ZOOM_SMALL,
|
|
|
|
wxWEBVIEW_ZOOM_MEDIUM,
|
|
|
|
wxWEBVIEW_ZOOM_LARGE,
|
|
|
|
wxWEBVIEW_ZOOM_LARGEST
|
2011-05-04 14:24:30 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
enum wxWebViewZoomType
|
|
|
|
{
|
2011-08-17 06:49:17 -04:00
|
|
|
//Scales entire page, including images
|
2013-02-01 04:38:53 -05:00
|
|
|
wxWEBVIEW_ZOOM_TYPE_LAYOUT,
|
|
|
|
wxWEBVIEW_ZOOM_TYPE_TEXT
|
2011-05-04 14:24:30 -04:00
|
|
|
};
|
|
|
|
|
2011-08-15 07:03:26 -04:00
|
|
|
enum wxWebViewNavigationError
|
2011-05-04 14:24:30 -04:00
|
|
|
{
|
2013-02-01 04:38:53 -05:00
|
|
|
wxWEBVIEW_NAV_ERR_CONNECTION,
|
|
|
|
wxWEBVIEW_NAV_ERR_CERTIFICATE,
|
|
|
|
wxWEBVIEW_NAV_ERR_AUTH,
|
|
|
|
wxWEBVIEW_NAV_ERR_SECURITY,
|
|
|
|
wxWEBVIEW_NAV_ERR_NOT_FOUND,
|
|
|
|
wxWEBVIEW_NAV_ERR_REQUEST,
|
|
|
|
wxWEBVIEW_NAV_ERR_USER_CANCELLED,
|
|
|
|
wxWEBVIEW_NAV_ERR_OTHER
|
2011-05-04 14:24:30 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
enum wxWebViewReloadFlags
|
|
|
|
{
|
2011-08-17 06:49:17 -04:00
|
|
|
//Default, may access cache
|
2013-02-01 04:38:53 -05:00
|
|
|
wxWEBVIEW_RELOAD_DEFAULT,
|
|
|
|
wxWEBVIEW_RELOAD_NO_CACHE
|
2011-05-04 14:24:30 -04:00
|
|
|
};
|
|
|
|
|
2012-08-28 13:13:13 -04:00
|
|
|
enum wxWebViewFindFlags
|
|
|
|
{
|
2013-02-01 04:38:53 -05:00
|
|
|
wxWEBVIEW_FIND_WRAP = 0x0001,
|
|
|
|
wxWEBVIEW_FIND_ENTIRE_WORD = 0x0002,
|
|
|
|
wxWEBVIEW_FIND_MATCH_CASE = 0x0004,
|
|
|
|
wxWEBVIEW_FIND_HIGHLIGHT_RESULT = 0x0008,
|
|
|
|
wxWEBVIEW_FIND_BACKWARDS = 0x0010,
|
|
|
|
wxWEBVIEW_FIND_DEFAULT = 0
|
2012-08-28 13:13:13 -04:00
|
|
|
};
|
|
|
|
|
2011-07-30 10:22:15 -04:00
|
|
|
//Base class for custom scheme handlers
|
2011-08-19 06:45:16 -04:00
|
|
|
class WXDLLIMPEXP_WEBVIEW wxWebViewHandler
|
2011-07-28 12:08:59 -04:00
|
|
|
{
|
|
|
|
public:
|
2011-08-14 08:15:34 -04:00
|
|
|
wxWebViewHandler(const wxString& scheme) : m_scheme(scheme) {}
|
2011-08-20 06:59:09 -04:00
|
|
|
virtual ~wxWebViewHandler() {}
|
2011-08-14 08:15:34 -04:00
|
|
|
virtual wxString GetName() const { return m_scheme; }
|
2011-07-28 12:08:59 -04:00
|
|
|
virtual wxFSFile* GetFile(const wxString &uri) = 0;
|
2011-08-14 08:15:34 -04:00
|
|
|
private:
|
|
|
|
wxString m_scheme;
|
2011-07-28 12:08:59 -04:00
|
|
|
};
|
|
|
|
|
2011-08-19 06:45:16 -04:00
|
|
|
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewNameStr[];
|
|
|
|
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewDefaultURLStr[];
|
2013-01-13 14:22:24 -05:00
|
|
|
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendDefault[];
|
|
|
|
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendIE[];
|
|
|
|
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendWebKit[];
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_WEBVIEW wxWebViewFactory : public wxObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual wxWebView* Create() = 0;
|
|
|
|
virtual wxWebView* Create(wxWindow* parent,
|
|
|
|
wxWindowID id,
|
|
|
|
const wxString& url = wxWebViewDefaultURLStr,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxWebViewNameStr) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
WX_DECLARE_STRING_HASH_MAP(wxSharedPtr<wxWebViewFactory>, wxStringWebViewFactoryMap);
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2011-08-19 06:45:16 -04:00
|
|
|
class WXDLLIMPEXP_WEBVIEW wxWebView : public wxControl
|
2011-05-04 14:24:30 -04:00
|
|
|
{
|
|
|
|
public:
|
2012-12-31 08:21:21 -05:00
|
|
|
wxWebView()
|
|
|
|
{
|
|
|
|
m_showMenu = true;
|
|
|
|
}
|
|
|
|
|
2011-10-05 13:23:51 -04:00
|
|
|
virtual ~wxWebView() {}
|
2011-05-04 14:24:30 -04:00
|
|
|
|
|
|
|
virtual bool Create(wxWindow* parent,
|
|
|
|
wxWindowID id,
|
2011-11-16 20:25:56 -05:00
|
|
|
const wxString& url = wxWebViewDefaultURLStr,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxWebViewNameStr) = 0;
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2013-01-13 14:22:24 -05:00
|
|
|
// Factory methods allowing the use of custom factories registered with
|
|
|
|
// RegisterFactory
|
|
|
|
static wxWebView* New(const wxString& backend = wxWebViewBackendDefault);
|
2011-05-04 14:24:30 -04:00
|
|
|
static wxWebView* New(wxWindow* parent,
|
2013-01-13 14:22:24 -05:00
|
|
|
wxWindowID id,
|
|
|
|
const wxString& url = wxWebViewDefaultURLStr,
|
|
|
|
const wxPoint& pos = wxDefaultPosition,
|
|
|
|
const wxSize& size = wxDefaultSize,
|
|
|
|
const wxString& backend = wxWebViewBackendDefault,
|
|
|
|
long style = 0,
|
|
|
|
const wxString& name = wxWebViewNameStr);
|
|
|
|
|
|
|
|
static void RegisterFactory(const wxString& backend,
|
|
|
|
wxSharedPtr<wxWebViewFactory> factory);
|
|
|
|
|
|
|
|
// General methods
|
2012-12-31 08:21:21 -05:00
|
|
|
virtual void EnableContextMenu(bool enable = true)
|
|
|
|
{
|
|
|
|
m_showMenu = enable;
|
|
|
|
}
|
2011-08-17 06:49:17 -04:00
|
|
|
virtual wxString GetCurrentTitle() const = 0;
|
|
|
|
virtual wxString GetCurrentURL() const = 0;
|
|
|
|
// TODO: handle choosing a frame when calling GetPageSource()?
|
|
|
|
virtual wxString GetPageSource() const = 0;
|
|
|
|
virtual wxString GetPageText() const = 0;
|
|
|
|
virtual bool IsBusy() const = 0;
|
2012-12-31 08:21:21 -05:00
|
|
|
virtual bool IsContextMenuEnabled() const { return m_showMenu; }
|
2011-08-17 06:49:17 -04:00
|
|
|
virtual bool IsEditable() const = 0;
|
2011-08-17 06:55:59 -04:00
|
|
|
virtual void LoadURL(const wxString& url) = 0;
|
2011-08-17 06:49:17 -04:00
|
|
|
virtual void Print() = 0;
|
|
|
|
virtual void RegisterHandler(wxSharedPtr<wxWebViewHandler> handler) = 0;
|
2013-02-01 04:38:53 -05:00
|
|
|
virtual void Reload(wxWebViewReloadFlags flags = wxWEBVIEW_RELOAD_DEFAULT) = 0;
|
2011-08-17 06:49:17 -04:00
|
|
|
virtual void RunScript(const wxString& javascript) = 0;
|
|
|
|
virtual void SetEditable(bool enable = true) = 0;
|
2012-07-24 16:45:10 -04:00
|
|
|
void SetPage(const wxString& html, const wxString& baseUrl)
|
|
|
|
{
|
|
|
|
DoSetPage(html, baseUrl);
|
|
|
|
}
|
|
|
|
void SetPage(wxInputStream& html, wxString baseUrl)
|
2011-08-17 06:49:17 -04:00
|
|
|
{
|
|
|
|
wxStringOutputStream stream;
|
|
|
|
stream.Write(html);
|
2012-07-24 16:45:10 -04:00
|
|
|
DoSetPage(stream.GetString(), baseUrl);
|
2011-08-17 06:49:17 -04:00
|
|
|
}
|
|
|
|
virtual void Stop() = 0;
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2011-08-17 06:49:17 -04:00
|
|
|
//History
|
2011-08-17 06:26:09 -04:00
|
|
|
virtual bool CanGoBack() const = 0;
|
|
|
|
virtual bool CanGoForward() const = 0;
|
2011-05-04 14:24:30 -04:00
|
|
|
virtual void GoBack() = 0;
|
|
|
|
virtual void GoForward() = 0;
|
2011-06-30 06:03:25 -04:00
|
|
|
virtual void ClearHistory() = 0;
|
|
|
|
virtual void EnableHistory(bool enable = true) = 0;
|
2011-08-15 08:31:31 -04:00
|
|
|
virtual wxVector<wxSharedPtr<wxWebViewHistoryItem> > GetBackwardHistory() = 0;
|
|
|
|
virtual wxVector<wxSharedPtr<wxWebViewHistoryItem> > GetForwardHistory() = 0;
|
|
|
|
virtual void LoadHistoryItem(wxSharedPtr<wxWebViewHistoryItem> item) = 0;
|
2011-06-30 06:03:25 -04:00
|
|
|
|
2011-08-17 06:49:17 -04:00
|
|
|
//Zoom
|
|
|
|
virtual bool CanSetZoomType(wxWebViewZoomType type) const = 0;
|
2011-08-17 06:26:09 -04:00
|
|
|
virtual wxWebViewZoom GetZoom() const = 0;
|
2011-08-17 06:49:17 -04:00
|
|
|
virtual wxWebViewZoomType GetZoomType() const = 0;
|
2011-05-04 14:24:30 -04:00
|
|
|
virtual void SetZoom(wxWebViewZoom zoom) = 0;
|
|
|
|
virtual void SetZoomType(wxWebViewZoomType zoomType) = 0;
|
|
|
|
|
2011-08-17 06:49:17 -04:00
|
|
|
//Selection
|
2011-07-09 10:31:29 -04:00
|
|
|
virtual void SelectAll() = 0;
|
2011-08-17 06:26:09 -04:00
|
|
|
virtual bool HasSelection() const = 0;
|
2011-07-09 10:31:29 -04:00
|
|
|
virtual void DeleteSelection() = 0;
|
2011-08-17 06:26:09 -04:00
|
|
|
virtual wxString GetSelectedText() const = 0;
|
|
|
|
virtual wxString GetSelectedSource() const = 0;
|
2011-07-15 05:36:08 -04:00
|
|
|
virtual void ClearSelection() = 0;
|
2011-07-09 10:31:29 -04:00
|
|
|
|
2011-07-02 07:45:19 -04:00
|
|
|
//Clipboard functions
|
2011-08-17 06:26:09 -04:00
|
|
|
virtual bool CanCut() const = 0;
|
|
|
|
virtual bool CanCopy() const = 0;
|
|
|
|
virtual bool CanPaste() const = 0;
|
2011-07-02 07:45:19 -04:00
|
|
|
virtual void Cut() = 0;
|
|
|
|
virtual void Copy() = 0;
|
|
|
|
virtual void Paste() = 0;
|
2011-07-02 11:07:46 -04:00
|
|
|
|
|
|
|
//Undo / redo functionality
|
2011-08-17 06:26:09 -04:00
|
|
|
virtual bool CanUndo() const = 0;
|
|
|
|
virtual bool CanRedo() const = 0;
|
2011-07-02 11:07:46 -04:00
|
|
|
virtual void Undo() = 0;
|
|
|
|
virtual void Redo() = 0;
|
2011-07-28 12:49:48 -04:00
|
|
|
|
2012-07-24 17:59:21 -04:00
|
|
|
//Get the pointer to the underlying native engine.
|
|
|
|
virtual void* GetNativeBackend() const = 0;
|
2012-08-28 13:13:13 -04:00
|
|
|
//Find function
|
2013-02-01 04:38:53 -05:00
|
|
|
virtual long Find(const wxString& text, int flags = wxWEBVIEW_FIND_DEFAULT) = 0;
|
2012-07-24 17:59:21 -04:00
|
|
|
|
2012-07-24 16:45:10 -04:00
|
|
|
protected:
|
|
|
|
virtual void DoSetPage(const wxString& html, const wxString& baseUrl) = 0;
|
|
|
|
|
2012-12-31 08:21:21 -05:00
|
|
|
private:
|
2013-01-13 14:22:24 -05:00
|
|
|
static void InitFactoryMap();
|
|
|
|
static wxStringWebViewFactoryMap::iterator FindFactory(const wxString &backend);
|
|
|
|
|
2012-12-31 08:21:21 -05:00
|
|
|
bool m_showMenu;
|
2013-01-13 14:22:24 -05:00
|
|
|
static wxStringWebViewFactoryMap m_factoryMap;
|
2012-12-31 08:21:21 -05:00
|
|
|
|
2011-08-01 11:49:05 -04:00
|
|
|
wxDECLARE_ABSTRACT_CLASS(wxWebView);
|
2011-05-04 14:24:30 -04:00
|
|
|
};
|
|
|
|
|
2011-08-19 06:45:16 -04:00
|
|
|
class WXDLLIMPEXP_WEBVIEW wxWebViewEvent : public wxNotifyEvent
|
2011-05-04 14:24:30 -04:00
|
|
|
{
|
|
|
|
public:
|
2011-08-15 07:03:26 -04:00
|
|
|
wxWebViewEvent() {}
|
|
|
|
wxWebViewEvent(wxEventType type, int id, const wxString url,
|
2011-08-17 07:19:29 -04:00
|
|
|
const wxString target)
|
|
|
|
: wxNotifyEvent(type, id), m_url(url), m_target(target)
|
|
|
|
{}
|
2011-05-04 14:24:30 -04:00
|
|
|
|
|
|
|
|
2011-08-17 06:49:17 -04:00
|
|
|
const wxString& GetURL() const { return m_url; }
|
2011-05-04 14:24:30 -04:00
|
|
|
const wxString& GetTarget() const { return m_target; }
|
|
|
|
|
2011-08-15 07:03:26 -04:00
|
|
|
virtual wxEvent* Clone() const { return new wxWebViewEvent(*this); }
|
2011-05-04 14:24:30 -04:00
|
|
|
private:
|
2011-07-25 10:30:07 -04:00
|
|
|
wxString m_url;
|
2011-05-04 14:24:30 -04:00
|
|
|
wxString m_target;
|
|
|
|
|
2011-08-15 07:03:26 -04:00
|
|
|
wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxWebViewEvent);
|
2011-05-04 14:24:30 -04:00
|
|
|
};
|
|
|
|
|
2013-04-25 06:11:03 -04:00
|
|
|
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_WEBVIEW, wxEVT_WEBVIEW_NAVIGATING, wxWebViewEvent );
|
|
|
|
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_WEBVIEW, wxEVT_WEBVIEW_NAVIGATED, wxWebViewEvent );
|
|
|
|
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_WEBVIEW, wxEVT_WEBVIEW_LOADED, wxWebViewEvent );
|
|
|
|
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_WEBVIEW, wxEVT_WEBVIEW_ERROR, wxWebViewEvent );
|
|
|
|
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_WEBVIEW, wxEVT_WEBVIEW_NEWWINDOW, wxWebViewEvent );
|
|
|
|
wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_WEBVIEW, wxEVT_WEBVIEW_TITLE_CHANGED, wxWebViewEvent );
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2011-08-15 07:03:26 -04:00
|
|
|
typedef void (wxEvtHandler::*wxWebViewEventFunction)
|
|
|
|
(wxWebViewEvent&);
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2011-08-15 07:03:26 -04:00
|
|
|
#define wxWebViewEventHandler(func) \
|
|
|
|
wxEVENT_HANDLER_CAST(wxWebViewEventFunction, func)
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2013-02-01 04:38:53 -05:00
|
|
|
#define EVT_WEBVIEW_NAVIGATING(id, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_WEBVIEW_NAVIGATING, id, \
|
2011-08-15 07:03:26 -04:00
|
|
|
wxWebViewEventHandler(fn))
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2013-02-01 04:38:53 -05:00
|
|
|
#define EVT_WEBVIEW_NAVIGATED(id, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_WEBVIEW_NAVIGATED, id, \
|
2011-08-15 07:03:26 -04:00
|
|
|
wxWebViewEventHandler(fn))
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2013-02-01 04:38:53 -05:00
|
|
|
#define EVT_WEBVIEW_LOADED(id, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_WEBVIEW_LOADED, id, \
|
2011-08-15 07:03:26 -04:00
|
|
|
wxWebViewEventHandler(fn))
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2013-02-01 04:38:53 -05:00
|
|
|
#define EVT_WEBVIEW_ERROR(id, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_WEBVIEW_ERROR, id, \
|
2011-08-15 07:03:26 -04:00
|
|
|
wxWebViewEventHandler(fn))
|
2011-05-04 14:24:30 -04:00
|
|
|
|
2013-02-01 04:38:53 -05:00
|
|
|
#define EVT_WEBVIEW_NEWWINDOW(id, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_WEBVIEW_NEWWINDOW, id, \
|
2011-08-15 07:03:26 -04:00
|
|
|
wxWebViewEventHandler(fn))
|
2011-05-26 14:43:18 -04:00
|
|
|
|
2013-02-01 04:38:53 -05:00
|
|
|
#define EVT_WEBVIEW_TITLE_CHANGED(id, fn) \
|
2013-04-25 06:11:03 -04:00
|
|
|
wx__DECLARE_EVT1(wxEVT_WEBVIEW_TITLE_CHANGED, id, \
|
2011-08-15 07:03:26 -04:00
|
|
|
wxWebViewEventHandler(fn))
|
2011-07-30 07:26:55 -04:00
|
|
|
|
2013-04-25 06:11:03 -04:00
|
|
|
// old wxEVT_COMMAND_* constants
|
|
|
|
#define wxEVT_COMMAND_WEBVIEW_NAVIGATING wxEVT_WEBVIEW_NAVIGATING
|
|
|
|
#define wxEVT_COMMAND_WEBVIEW_NAVIGATED wxEVT_WEBVIEW_NAVIGATED
|
|
|
|
#define wxEVT_COMMAND_WEBVIEW_LOADED wxEVT_WEBVIEW_LOADED
|
|
|
|
#define wxEVT_COMMAND_WEBVIEW_ERROR wxEVT_WEBVIEW_ERROR
|
|
|
|
#define wxEVT_COMMAND_WEBVIEW_NEWWINDOW wxEVT_WEBVIEW_NEWWINDOW
|
|
|
|
#define wxEVT_COMMAND_WEBVIEW_TITLE_CHANGED wxEVT_WEBVIEW_TITLE_CHANGED
|
|
|
|
|
2011-09-16 18:44:17 -04:00
|
|
|
#endif // wxUSE_WEBVIEW
|
2011-05-05 16:30:51 -04:00
|
|
|
|
2013-02-01 04:38:53 -05:00
|
|
|
#endif // _WX_WEBVIEW_H_
|