Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/Clipboard.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | b98647bc0aef |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/Clipboard.d Sat Nov 13 14:15:51 2010 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/Clipboard.d Wed Mar 16 21:53:53 2011 +0900 @@ -557,7 +557,7 @@ } // include the drop effect format to specify a copy operation FORMATETC* dropeffect = new FORMATETC(); - dropeffect.cfFormat = CFSTR_PREFERREDDROPEFFECT; + dropeffect.cfFormat = cast(ushort) CFSTR_PREFERREDDROPEFFECT; dropeffect.dwAspect = COM.DVASPECT_CONTENT; dropeffect.lindex = -1; dropeffect.tymed = COM.TYMED_HGLOBAL;