git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67712
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+#ifdef __WXMSW__
+ #define wxHAVE_WEB_BACKEND_IE 1
+#endif
+
#if wxHAVE_WEB_BACKEND_IE
#include "wx/control.h"
#if wxHAVE_WEB_BACKEND_IE
#include "wx/control.h"
virtual bool IsBusy() = 0;
};
virtual bool IsBusy() = 0;
};
-//class WXDLLIMPEXP_FWD_HTML wxWebNavigationEvent;
-
-// FIXME: get those WXDLLIMPEXP_HTML & DECLARE_DYNAMIC_CLASS right...
-//wxDECLARE_EXPORTED_EVENT(WXDLLIMPEXP_HTML, wxEVT_COMMAND_WEB_VIEW_NAVIGATE,
-// wxWebNavigationEvent );
-
-
-// FIXME: get those WXDLLIMPEXP_HTML & DECLARE_DYNAMIC_CLASS right...
-class wxWebNavigationEvent : public wxCommandEvent
+class WXDLLIMPEXP_WEB wxWebNavigationEvent : public wxCommandEvent
{
public:
wxWebNavigationEvent() {}
{
public:
wxWebNavigationEvent() {}
#if wxHAVE_WEB_BACKEND_IE
case wxWEB_VIEW_BACKEND_IE:
#if wxHAVE_WEB_BACKEND_IE
case wxWEB_VIEW_BACKEND_IE:
- return new wxIEPanel();
+ return new wxWebViewIE();
#endif
case wxWEB_VIEW_BACKEND_DEFAULT:
#endif
case wxWEB_VIEW_BACKEND_DEFAULT:
#endif
#if wxHAVE_WEB_BACKEND_IE
#endif
#if wxHAVE_WEB_BACKEND_IE
- return new wxIEPanel();
+ return new wxWebViewIE();
#endif
// fall-through intended
#endif
// fall-through intended
#if wxHAVE_WEB_BACKEND_IE
case wxWEB_VIEW_BACKEND_IE:
#if wxHAVE_WEB_BACKEND_IE
case wxWEB_VIEW_BACKEND_IE:
- return new wxIEPanel(parent, id, url, pos, size, style, name);
+ return new wxWebViewIE(parent, id, url, pos, size, style, name);
#endif
case wxWEB_VIEW_BACKEND_DEFAULT:
#endif
case wxWEB_VIEW_BACKEND_DEFAULT:
#endif
#if wxHAVE_WEB_BACKEND_IE
#endif
#if wxHAVE_WEB_BACKEND_IE
- return new wxIEPanel(parent, id, url, pos, size, style, name);
+ return new wxWebViewIE(parent, id, url, pos, size, style, name);
#endif
// fall-through intended
#endif
// fall-through intended
#include <exdisp.h>
#include <mshtml.h>
#include <exdisp.h>
#include <mshtml.h>
// FIXME: Seems like MINGW does not have these, how to handle cleanly?
#define DISPID_COMMANDSTATECHANGE 105
typedef enum CommandStateChangeConstants {
// FIXME: Seems like MINGW does not have these, how to handle cleanly?
#define DISPID_COMMANDSTATECHANGE 105
typedef enum CommandStateChangeConstants {
#define INET_E_CODE_INSTALL_SUPPRESSED 0x800C0400L
#define REFRESH_COMPLETELY 3
#define INET_E_CODE_INSTALL_SUPPRESSED 0x800C0400L
#define REFRESH_COMPLETELY 3
BEGIN_EVENT_TABLE(wxWebViewIE, wxControl)
BEGIN_EVENT_TABLE(wxWebViewIE, wxControl)
-EVT_ACTIVEX(wxID_ANY, wxWebViewIE::onActiveXEvent)
-EVT_ERASE_BACKGROUND(wxWebViewIE::onEraseBg)
+ EVT_ACTIVEX(wxID_ANY, wxWebViewIE::onActiveXEvent)
+ EVT_ERASE_BACKGROUND(wxWebViewIE::onEraseBg)
END_EVENT_TABLE()
bool wxWebViewIE::Create(wxWindow* parent,
END_EVENT_TABLE()
bool wxWebViewIE::Create(wxWindow* parent,