X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..0a0e6a5bafe2efb3466b1527eb7eb670aaa5e634:/src/msw/dragimag.cpp diff --git a/src/msw/dragimag.cpp b/src/msw/dragimag.cpp index c67eda693b..6c39b446f0 100644 --- a/src/msw/dragimag.cpp +++ b/src/msw/dragimag.cpp @@ -6,7 +6,7 @@ // Created: 08/04/99 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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)