X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57bd4c6031d438f11af0ec540136f49a928b923c..68f146206ff65cfafdf88c154aece854a0ba4864:/src/msw/dragimag.cpp diff --git a/src/msw/dragimag.cpp b/src/msw/dragimag.cpp index 469d3954b0..2cb08d63d3 100644 --- a/src/msw/dragimag.cpp +++ b/src/msw/dragimag.cpp @@ -182,9 +182,8 @@ bool wxDragImage::Create(const wxIcon& image, const wxCursor& cursor) else flags = ILC_COLOR32; #endif - bool mask = true; - if ( mask ) - flags |= ILC_MASK; + + flags |= ILC_MASK; m_hImageList = (WXHIMAGELIST) ImageList_Create(image.GetWidth(), image.GetHeight(), flags, 1, 1);