diff --git a/include/wx/webview.h b/include/wx/webview.h index 59dc17de98..a58fd87f97 100644 --- a/include/wx/webview.h +++ b/include/wx/webview.h @@ -74,6 +74,7 @@ class WXDLLIMPEXP_WEBVIEW wxWebViewHandler { public: wxWebViewHandler(const wxString& scheme) : m_scheme(scheme) {} + virtual ~wxWebViewHandler() {} virtual wxString GetName() const { return m_scheme; } virtual wxFSFile* GetFile(const wxString &uri) = 0; private: diff --git a/include/wx/webviewarchivehandler.h b/include/wx/webviewarchivehandler.h index 3654c75b60..a0d02b6f27 100644 --- a/include/wx/webviewarchivehandler.h +++ b/include/wx/webviewarchivehandler.h @@ -26,6 +26,7 @@ class WXDLLIMPEXP_WEBVIEW wxWebViewArchiveHandler : public wxWebViewHandler { public: wxWebViewArchiveHandler(const wxString& scheme); + virtual ~wxWebViewArchiveHandler() {} virtual wxFSFile* GetFile(const wxString &uri); private: wxFileSystem* m_fileSystem;