]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_image.cpp
added empty virtual dtors to silence gcc warnings
[wxWidgets.git] / src / html / m_image.cpp
index c7586333b0e3cfbc63e818f8533619cdb4fafb9b..41c8a636df29dcf8c9f1c111f81f6df3ea9e3a91 100644 (file)
     #include "wx/dcmemory.h"
     #include "wx/log.h"
     #include "wx/math.h"
     #include "wx/dcmemory.h"
     #include "wx/log.h"
     #include "wx/math.h"
+    #include "wx/image.h"
 #endif
 
 #include "wx/html/forcelnk.h"
 #include "wx/html/m_templ.h"
 #include "wx/html/htmlwin.h"
 
 #endif
 
 #include "wx/html/forcelnk.h"
 #include "wx/html/m_templ.h"
 #include "wx/html/htmlwin.h"
 
-#include "wx/image.h"
 #include "wx/gifdecod.h"
 #include "wx/artprov.h"
 
 #include "wx/gifdecod.h"
 #include "wx/artprov.h"
 
@@ -289,7 +289,7 @@ public:
                     wxFSFile *input, int w = wxDefaultCoord, int h = wxDefaultCoord,
                     double scale = 1.0, int align = wxHTML_ALIGN_BOTTOM,
                     const wxString& mapname = wxEmptyString);
                     wxFSFile *input, int w = wxDefaultCoord, int h = wxDefaultCoord,
                     double scale = 1.0, int align = wxHTML_ALIGN_BOTTOM,
                     const wxString& mapname = wxEmptyString);
-    ~wxHtmlImageCell();
+    virtual ~wxHtmlImageCell();
     void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2,
               wxHtmlRenderingInfo& info);
     virtual wxHtmlLinkInfo *GetLink(int x = 0, int y = 0) const;
     void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2,
               wxHtmlRenderingInfo& info);
     virtual wxHtmlLinkInfo *GetLink(int x = 0, int y = 0) const;