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:
Vadim Zeitlin 2002-03-27 19:04:49 +00:00
parent 39d580f7dc
commit f4d0cce0b8

View File

@ -293,7 +293,7 @@ STDMETHODIMP wxIDataObject::GetData(FORMATETC *pformatetcIn, STGMEDIUM *pmedium)
// for the bitmaps and metafiles we use the handles instead of global memory // for the bitmaps and metafiles we use the handles instead of global memory
// to pass the data // to pass the data
wxDataFormat format = (wxDataFormatId)pformatetcIn->cfFormat; wxDataFormat format = (wxDataFormat::NativeFormat)pformatetcIn->cfFormat;
switch ( format ) switch ( format )
{ {