]> git.saurik.com Git - wxWidgets.git/commitdiff
added virtual dtor to wxHtmlWindowMouseHelper to avoid gcc warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 16 Apr 2006 22:41:15 +0000 (22:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 16 Apr 2006 22:41:15 +0000 (22:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/html/htmlwin.h

index 62e4136c59b88008d1939e0311bac36a46e51aa6..dd22df3b2dfb51890d8857c028a8feea6384bd96 100644 (file)
@@ -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; }