wxOSX-Cocoa: DnD broken for custom data object types
|Reported by:||robind||Owned by:||csomor|
This can be seen with the C++ dnd sample. Create 2 shape frames with Cmd-N, create a shape in one of them and try dragging it to the other. None of the drop target methods (OnEnter, OnDragOver, OnDrop, etc.) are called and the result from DoDragDrop is as if nothing has happened. In other words, as if the drop happened on some window that doesn't support the data type.
The dnd sample uses a class derived from wxDataObject. A similar wxPython demo uses a class derived from wxCustomDataObject with similar results. It acts as if OSX is not sensing that the source and target data objects are the same type.