I got the following trouble with drag-and-drop:
I have a data object inherited from wxCustomDataObject. When i try to drag and drop it, my program crashes
receiving SIGABORT when OnDrop function exits. (OnData is not even called!) When i use wxTextDataObject instead of mine -- all is in order.
But i need to transfer not just a text, but more complex data!
Please help me! What is inherited object will look like that
calls for wxDropTarget.SetData() and so on won't make trouble and
data transmission will be OK
Thanks!