unused variable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2006-12-09 19:49:02 +00:00
parent bdb148e06d
commit d19ebfaa43

View File

@ -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);