]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/bitmap.cpp
More bakfile changes needed for bmpcbox. Rebaked.
[wxWidgets.git] / src / x11 / bitmap.cpp
index ae4c2e3f12cd39fd2c8b45756ebce36de95e4b6e..920910df87bea36ba821d3d47859de14a2a31871 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
-#endif
-
-#include "wx/icon.h"
-#include "wx/image.h"
-#if wxUSE_NANOX
-#include "wx/dcmemory.h"
+    #include "wx/dcmemory.h"
+    #include "wx/icon.h"
+    #include "wx/math.h"
+    #include "wx/image.h"
 #endif
 
 #include "wx/x11/private.h"
@@ -44,7 +42,6 @@ bool wxGetImageFromDrawable(GR_DRAW_ID drawable, int srcX, int srcY, int width,
 #include "wx/wfstream.h"
 #endif
 #endif
-#include "wx/math.h"
 
 //-----------------------------------------------------------------------------
 // wxMask
@@ -234,7 +231,7 @@ class wxBitmapRefData: public wxObjectRefData
 {
 public:
     wxBitmapRefData();
-    ~wxBitmapRefData();
+    virtual ~wxBitmapRefData();
 
     WXPixmap        m_pixmap;
     WXPixmap        m_bitmap;