From 5b91ac0603dc9a2254aa37fe86bac70931463a53 Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Sat, 20 Aug 2011 10:59:09 +0000 Subject: [PATCH] Add virtual destructors to fix GCC4 warnings. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/webview.h | 1 + include/wx/webviewarchivehandler.h | 1 + 2 files changed, 2 insertions(+) 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; -- 2.45.2