]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/webview_ie.h
Explicitly use _stati64() with MinGW-W64.
[wxWidgets.git] / include / wx / msw / webview_ie.h
index 9da57a36fbcea77e5b2c0e114351a49c0a7681f9..ce784c9be0902332e2b4cc0525fc04c81e61bd26 100644 (file)
@@ -24,6 +24,7 @@
 
 struct IHTMLDocument2;
 class wxFSFile;
+class ClassFactory;
 
 class WXDLLIMPEXP_WEBVIEW wxWebViewIE : public wxWebView
 {
@@ -42,6 +43,8 @@ public:
        Create(parent, id, url, pos, size, style, name);
    }
 
+    ~wxWebViewIE();
+
     bool Create(wxWindow* parent,
            wxWindowID id,
            const wxString& url = wxWebViewDefaultURLStr,
@@ -149,6 +152,7 @@ private:
     //an item from the history. The position is stored as an int, and reflects
     //where we are in the history list.
     wxVector<wxSharedPtr<wxWebViewHistoryItem> > m_historyList;
+    wxVector<ClassFactory*> m_factories;
     int m_historyPosition;
     bool m_historyLoadingFromList;
     bool m_historyEnabled;
@@ -161,8 +165,6 @@ private:
     wxDECLARE_DYNAMIC_CLASS(wxWebViewIE);
 };
 
-#ifndef __MINGW32__
-
 class VirtualProtocol : public IInternetProtocol
 {
 protected:
@@ -212,7 +214,7 @@ public:
 class ClassFactory : public IClassFactory
 {
 public:
-    ClassFactory(wxSharedPtr<wxWebViewHandler> handler) : m_handler(handler), m_refCount(0) {}
+    ClassFactory(wxSharedPtr<wxWebViewHandler> handler) : m_refCount(0), m_handler(handler) {}
     //IUnknown
     ULONG STDMETHODCALLTYPE AddRef();
     HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject);
@@ -227,8 +229,6 @@ private:
     wxSharedPtr<wxWebViewHandler> m_handler;
 };
 
-#endif // __MINGW32__
-
 #endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE && defined(__WXMSW__)
 
 #endif // wxWebViewIE_H