]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/bitmap.cpp
Commit patch [ 1559950 ] fix mem leaks in wx{Dir|File}Dialog
[wxWidgets.git] / src / mgl / bitmap.cpp
index 06e840311a500094f9a95cdf38e992aac7c19596..85cfbe0feedd7545ef76acc10a3eb57cf3d792ae 100644 (file)
     #include "wx/log.h"
     #include "wx/utils.h"
     #include "wx/dcmemory.h"
     #include "wx/log.h"
     #include "wx/utils.h"
     #include "wx/dcmemory.h"
+    #include "wx/icon.h"
+    #include "wx/image.h"
 #endif
 
 #endif
 
-#include "wx/icon.h"
 #include "wx/filefn.h"
 #include "wx/filefn.h"
-#include "wx/image.h"
-#include "wx/image.h"
 #include "wx/xpmdecod.h"
 
 #include "wx/mgl/private.h"
 #include "wx/xpmdecod.h"
 
 #include "wx/mgl/private.h"
@@ -156,7 +155,7 @@ class wxBitmapRefData: public wxObjectRefData
 {
 public:
     wxBitmapRefData();
 {
 public:
     wxBitmapRefData();
-    ~wxBitmapRefData();
+    virtual ~wxBitmapRefData();
 
     int             m_width;
     int             m_height;
 
     int             m_width;
     int             m_height;