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:
@@ -629,6 +629,10 @@ void wxDataObject::AddSupportedTypes( void* cfarray)
|
|||||||
{
|
{
|
||||||
CFArrayAppendValue((CFMutableArrayRef)cfarray, kUTTypePDF);
|
CFArrayAppendValue((CFMutableArrayRef)cfarray, kUTTypePDF);
|
||||||
}
|
}
|
||||||
|
else if ( dataFormat.GetType() == wxDF_PRIVATE )
|
||||||
|
{
|
||||||
|
CFArrayAppendValue((CFMutableArrayRef)cfarray, (CFStringRef) dataFormat.GetFormatId());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
delete[] array;
|
delete[] array;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user