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:
parent
2346ca0853
commit
9e1bfb3c2a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user