supporting private types in DnD on osx_cocoa, fixes #14884

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2012-12-14 16:21:17 +00:00
parent 2346ca0853
commit 9e1bfb3c2a

View File

@ -629,6 +629,10 @@ void wxDataObject::AddSupportedTypes( void* cfarray)
{
CFArrayAppendValue((CFMutableArrayRef)cfarray, kUTTypePDF);
}
else if ( dataFormat.GetType() == wxDF_PRIVATE )
{
CFArrayAppendValue((CFMutableArrayRef)cfarray, (CFStringRef) dataFormat.GetFormatId());
}
}
delete[] array;
}