X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e924e848f74c0857443255d5a4ac300e08ba7c47..e33cedf4c66f02c8a075ef1471d70661ca03a316:/include/wx/msw/webview_ie.h?ds=sidebyside diff --git a/include/wx/msw/webview_ie.h b/include/wx/msw/webview_ie.h index f6e7688c46..ce784c9be0 100644 --- a/include/wx/msw/webview_ie.h +++ b/include/wx/msw/webview_ie.h @@ -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 > m_historyList; + wxVector m_factories; int m_historyPosition; bool m_historyLoadingFromList; bool m_historyEnabled; @@ -209,10 +213,8 @@ public: class ClassFactory : public IClassFactory { -private: - ULONG m_refCount; public: - ClassFactory(wxSharedPtr handler) : m_handler(handler) {} + ClassFactory(wxSharedPtr handler) : m_refCount(0), m_handler(handler) {} //IUnknown ULONG STDMETHODCALLTYPE AddRef(); HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppvObject); @@ -223,6 +225,7 @@ public: REFIID riid, void** ppvObject); HRESULT STDMETHODCALLTYPE LockServer(BOOL fLock); private: + ULONG m_refCount; wxSharedPtr m_handler; };