From: Vadim Zeitlin Date: Wed, 27 Mar 2002 19:04:49 +0000 (+0000) Subject: fixed data format cast (patch 528965) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f4d0cce0b8dd38719e5cdad57ad6a1ff5ce41d82?ds=inline fixed data format cast (patch 528965) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/ole/dataobj.cpp b/src/msw/ole/dataobj.cpp index 9bf10aab3d..309a999059 100644 --- a/src/msw/ole/dataobj.cpp +++ b/src/msw/ole/dataobj.cpp @@ -293,7 +293,7 @@ STDMETHODIMP wxIDataObject::GetData(FORMATETC *pformatetcIn, STGMEDIUM *pmedium) // for the bitmaps and metafiles we use the handles instead of global memory // to pass the data - wxDataFormat format = (wxDataFormatId)pformatetcIn->cfFormat; + wxDataFormat format = (wxDataFormat::NativeFormat)pformatetcIn->cfFormat; switch ( format ) {