mirror of
https://github.com/Tinob/Ishiiruka.git
synced 2024-05-12 01:35:12 -04:00
visual studio 2019 compilation fix
This commit is contained in:
parent
c2304cd992
commit
3193e6ae5d
4
Externals/wxWidgets3/src/msw/ole/dataobj.cpp
vendored
4
Externals/wxWidgets3/src/msw/ole/dataobj.cpp
vendored
|
@ -261,7 +261,7 @@ wxIDataObject::GetSystemData(wxDataFormat format, STGMEDIUM *pmedium) const
|
|||
++it )
|
||||
{
|
||||
FORMATETC* formatEtc = (*it)->pformatetc;
|
||||
if ( formatEtc->cfFormat == format )
|
||||
if (formatEtc->cfFormat == format.GetFormatId())
|
||||
{
|
||||
wxCopyStgMedium((*it)->pmedium, pmedium);
|
||||
return true;
|
||||
|
@ -279,7 +279,7 @@ wxIDataObject::HasSystemData(wxDataFormat format) const
|
|||
++it )
|
||||
{
|
||||
FORMATETC* formatEtc = (*it)->pformatetc;
|
||||
if ( formatEtc->cfFormat == format )
|
||||
if ( formatEtc->cfFormat == format.GetFormatId() )
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue