Harmonize wxDataViewCtrl::GetSelection() behaviour in all ports.
wxDataViewCtrl::GetSelection() now always returns invalid item if more than a single item is selected in a multi-selection control. Also add HasSelection() and GetSelectedItemsCount() to allow checking if any items are selected. Updated the documentation, all ports and added a test for all these functions. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -199,6 +199,10 @@ Changes in behaviour not resulting in compilation errors, please read this!
|
||||
prevent the parent wxTopLevelWindow from interfering with the keyboard
|
||||
handling of the window that captured the mouse.
|
||||
|
||||
- wxDataViewCtrl::GetSelection() now returns invalid item in all ports (this
|
||||
behaved differently in wxMSW and wxGTK/wxOSX before) if more than one item
|
||||
is selected in a control with wxDV_MULTIPLE style.
|
||||
|
||||
|
||||
Changes in behaviour which may result in compilation errors
|
||||
-----------------------------------------------------------
|
||||
@@ -458,6 +462,7 @@ All (GUI):
|
||||
- Added customizable wxDocManager::OnMRUFileNotExist() virtual method.
|
||||
- Fix stock labels when not using mnemonics for Chinese (cw.ahbong).
|
||||
- Added wxComboBox::IsListEmpty() and IsTextEmpty().
|
||||
- Added wxDataViewCtrl::GetSelectedItemsCount() and HasSelection().
|
||||
|
||||
OSX:
|
||||
|
||||
|
Reference in New Issue
Block a user