Document that wxDataViewCtrl::SetSelections() skips invalid items

Also add the unit test checking for this.
This commit is contained in:
Vadim Zeitlin
2020-10-12 17:05:59 +02:00
committed by Václav Slavík
parent 9457c35d42
commit 1f40a7e4e3
2 changed files with 27 additions and 0 deletions

View File

@@ -1675,6 +1675,9 @@ public:
/**
Sets the selection to the array of wxDataViewItems.
Note that if @a sel contains any invalid items, they are simply
ignored.
*/
virtual void SetSelections(const wxDataViewItemArray& sel);