adding data-transfer direction when getting native datatypes
we are publishing exactly what we have internally when data has to be get, and when setting, we might have more formats we can support
This commit is contained in:
@@ -3215,7 +3215,7 @@ void wxWidgetCocoaImpl::SetDropTarget(wxDropTarget* target)
|
||||
if (dobj)
|
||||
{
|
||||
wxCFMutableArrayRef<CFStringRef> typesarray;
|
||||
dobj->AddSupportedTypes(typesarray);
|
||||
dobj->AddSupportedTypes(typesarray, wxDataObjectBase::Direction::Get);
|
||||
NSView* targetView = m_osxView;
|
||||
if ([m_osxView isKindOfClass:[NSScrollView class]])
|
||||
targetView = [(NSScrollView*)m_osxView documentView];
|
||||
|
||||
Reference in New Issue
Block a user