mirror of
https://github.com/Tinob/Ishiiruka.git
synced 2024-06-05 14:49:04 -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 )
|
++it )
|
||||||
{
|
{
|
||||||
FORMATETC* formatEtc = (*it)->pformatetc;
|
FORMATETC* formatEtc = (*it)->pformatetc;
|
||||||
if ( formatEtc->cfFormat == format )
|
if (formatEtc->cfFormat == format.GetFormatId())
|
||||||
{
|
{
|
||||||
wxCopyStgMedium((*it)->pmedium, pmedium);
|
wxCopyStgMedium((*it)->pmedium, pmedium);
|
||||||
return true;
|
return true;
|
||||||
|
@ -279,7 +279,7 @@ wxIDataObject::HasSystemData(wxDataFormat format) const
|
||||||
++it )
|
++it )
|
||||||
{
|
{
|
||||||
FORMATETC* formatEtc = (*it)->pformatetc;
|
FORMATETC* formatEtc = (*it)->pformatetc;
|
||||||
if ( formatEtc->cfFormat == format )
|
if ( formatEtc->cfFormat == format.GetFormatId() )
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue