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
This commit is contained in:
parent
392594bb41
commit
5b91ac0603
@ -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:
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user