Get simple (text) drag and drop case working with drop source.

We ended up not needing the underlying QMimeData-based implementation, as the classes sitting on top of it
bypassed it anyway. It now treats the hierarchy as a pure data storage mechanism, generating the
QMimeData when drag-drop is initiated.
This commit is contained in:
Jay Nabonne
2019-01-28 15:30:25 +00:00
parent ea4c7120ff
commit 0dc1654ab6
4 changed files with 112 additions and 70 deletions

View File

@@ -42,5 +42,8 @@ public:
const wxIcon &none = wxNullIcon);
virtual wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
private:
wxWindow* m_parentWindow;
};
#endif // _WX_QT_DND_H_