Following code:
Code: Select all
wxDataViewItem item = event.GetItem();
m_itemPos = (int) item.GetID();
I presume I'm doing something wrong, but I'm no sure what.
Could someone please help? I'm trying to get the information inside the wxEVT_DATAVIEW_ITEM_BEGIN_DRAG, about the item being dragged (it's position).
Thank you.