X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e355447176a9d2f6afc2c58c770300dc7a3dd7d5..f8a3e080aaf03010044191b373d27c2e17cbd7d9:/src/msw/bitmap.cpp diff --git a/src/msw/bitmap.cpp b/src/msw/bitmap.cpp index 98e3d926dd..e935db2c76 100644 --- a/src/msw/bitmap.cpp +++ b/src/msw/bitmap.cpp @@ -27,10 +27,10 @@ #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; }