Allow dropping data outside of item area in wxDataViewCtrl.

Implement this change for the generic and the native GTK versions and document
it.

Closes #16152.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-04-27 22:41:40 +00:00
parent 555e57912e
commit cbe6495307
5 changed files with 36 additions and 39 deletions

View File

@@ -3483,7 +3483,13 @@ public:
/**
Returns the item affected by the event.
Notice that for @c wxEVT_DATAVIEW_ITEM_DROP_POSSIBLE and @c
wxEVT_DATAVIEW_ITEM_DROP event handlers, the item may be invalid,
indicating that the drop is about to happen outside of the item area.
*/
wxDataViewItem GetItem() const;
void SetItem( const wxDataViewItem &item );
void SetEditCanceled(bool editCancelled);