X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..a29b55cdf6c1f8547c615a5e928813ba78566e9a:/src/msw/dragimag.cpp?ds=sidebyside diff --git a/src/msw/dragimag.cpp b/src/msw/dragimag.cpp index 0789752ef0..6c39b446f0 100644 --- a/src/msw/dragimag.cpp +++ b/src/msw/dragimag.cpp @@ -120,10 +120,10 @@ bool wxDragImage::Create(const wxBitmap& image, const wxCursor& cursor) ImageList_Destroy(GetHimageList()); m_hImageList = 0; - UINT flags = 0 ; #ifdef __WXWINCE__ - flags = ILC_COLOR; + UINT flags = ILC_COLOR; #else + UINT flags wxDUMMY_INITIALIZE(0) ; if (image.GetDepth() <= 4) flags = ILC_COLOR4; else if (image.GetDepth() <= 8) @@ -177,10 +177,10 @@ bool wxDragImage::Create(const wxIcon& image, const wxCursor& cursor) ImageList_Destroy(GetHimageList()); m_hImageList = 0; - UINT flags = 0 ; #ifdef __WXWINCE__ - flags = ILC_COLOR; + UINT flags = ILC_COLOR; #else + UINT flags wxDUMMY_INITIALIZE(0) ; if (image.GetDepth() <= 4) flags = ILC_COLOR4; else if (image.GetDepth() <= 8)