From 432ea998aa3d7f33c23c08aafcf13dcd4378634e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 16 Apr 2006 22:41:15 +0000 Subject: [PATCH] added virtual dtor to wxHtmlWindowMouseHelper to avoid gcc warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/html/htmlwin.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 62e4136c59..dd22df3b2d 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -142,6 +142,14 @@ protected: */ wxHtmlWindowMouseHelper(wxHtmlWindowInterface *iface); + /** + Virtual dtor. + + It is not really needed in this case but at leats it prevents gcc from + complaining about its absence. + */ + virtual ~wxHtmlWindowMouseHelper() { } + /// Returns true if the mouse moved since the last call to HandleIdle bool DidMouseMove() const { return m_tmpMouseMoved; } -- 2.50.0