]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/bitmap.cpp
Added some tentative wxMotif clipboard code; did some file formatting
[wxWidgets.git] / src / msw / bitmap.cpp
index 98e3d926ddb50a617218d47f1ca842ea52206c4f..e935db2c76130189a146f2786bc5b3319efa07e6 100644 (file)
 #include "wx/utils.h"
 #include "wx/app.h"
 #include "wx/palette.h"
+#include "wx/dcmemory.h"
 #include "wx/bitmap.h"
 #include "wx/icon.h"
 #endif
-#include "wx/image.h"
 
 #include "wx/msw/private.h"
 #include "wx/log.h"
@@ -77,7 +77,7 @@ wxBitmapRefData::~wxBitmapRefData(void)
   m_hBitmap = 0 ;
 
   if (m_bitmapMask)
-//    delete m_bitmapMask;    // this line cause an exception
+    delete m_bitmapMask;
   m_bitmapMask = NULL;
 
 }