X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/938506b1f78bb6c7f3a3a3b84ce90a2683eb3c0a..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/msw/webview_ie.h diff --git a/include/wx/msw/webview_ie.h b/include/wx/msw/webview_ie.h index e51ec3e03d..bc19ee85ae 100644 --- a/include/wx/msw/webview_ie.h +++ b/include/wx/msw/webview_ie.h @@ -2,7 +2,6 @@ // Name: include/wx/msw/webview_ie.h // Purpose: wxMSW IE wxWebView backend // Author: Marianne Gagnon -// Id: $Id$ // Copyright: (c) 2010 Marianne Gagnon, 2011 Steven Lamerton // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -221,7 +220,7 @@ protected: public: VirtualProtocol(wxSharedPtr handler); - ~VirtualProtocol() {} + virtual ~VirtualProtocol() {} //IUnknown DECLARE_IUNKNOWN_METHODS; @@ -256,7 +255,8 @@ class ClassFactory : public IClassFactory { public: ClassFactory(wxSharedPtr handler) : m_handler(handler) - { AddRef(); } + { AddRef(); } + virtual ~ClassFactory() {} wxString GetName() { return m_handler->GetName(); } @@ -286,7 +286,7 @@ class DocHostUIHandler : public wxIDocHostUIHandler { public: DocHostUIHandler(wxWebView* browser) { m_browser = browser; } - ~DocHostUIHandler() {}; + virtual ~DocHostUIHandler() {} virtual HRESULT wxSTDCALL ShowContextMenu(DWORD dwID, POINT *ppt, IUnknown *pcmdtReserved,