GetData() function for wxDropTarget only works inside its OnData() function but is there way to get access to the dragged data inside OnDragOver() function?
I'd need this to visualize the drag result to the user as the cursor is moving over the canvas before left mouse button is actually released.
As this dragging only happens inside one program it wouldn't be too hard to pass knowledge of the dragged data outside wx drag&drop functionality but it would be hacky.
wxDropTarget GetData() inside OnDragOver() ? Topic is solved
Re: wxDropTarget GetData() inside OnDragOver() ?
Can you use wxDropSource::GiveFeedback()?
https://docs.wxwidgets.org/trunk/classw ... f436726f7f
https://docs.wxwidgets.org/trunk/classw ... f436726f7f
Use the source, Luke!
Re: wxDropTarget GetData() inside OnDragOver() ?
Yes that should work. Thanks.