fixed data format cast (patch 528965)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
39d580f7dc
commit
f4d0cce0b8
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user