]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dragimag.cpp
wxApp::GetComCtl32Version seems possible and works now with DMC.
[wxWidgets.git] / src / msw / dragimag.cpp
index 2941c5cc4bf47bf1971300543e528e5c1ea8ef18..6c39b446f05aa19d340cb3607b16c089771f392c 100644 (file)
@@ -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)