diff --git a/src/msw/dragimag.cpp b/src/msw/dragimag.cpp index 2941c5cc4b..6c39b446f0 100644 --- a/src/msw/dragimag.cpp +++ b/src/msw/dragimag.cpp @@ -121,7 +121,7 @@ bool wxDragImage::Create(const wxBitmap& image, const wxCursor& cursor) m_hImageList = 0; #ifdef __WXWINCE__ - UNIT flags = ILC_COLOR; + UINT flags = ILC_COLOR; #else UINT flags wxDUMMY_INITIALIZE(0) ; if (image.GetDepth() <= 4)