Ticket #14884 (closed defect: fixed)
wxOSX-Cocoa: DnD broken for custom data object types
| Reported by: | robind | Owned by: | csomor |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxOSX-Cocoa | Version: | 2.9-svn |
| Keywords: | DnD CustomDataObject | Cc: | artlogic@… |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
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.
See #13874
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

