#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"
m_hBitmap = 0 ;
if (m_bitmapMask)
-// delete m_bitmapMask; // this line cause an exception
+ delete m_bitmapMask;
m_bitmapMask = NULL;
}