Use wxSelectionStore in wxDataViewCtrl generic implementation.
This makes the code (slightly) shorter and more clear and is more efficient as selecting all items in wxDataViewCtrl is now a O(1) operation instead of being O(N), where N is the number of items -- and the latter could take quite a long time (and consume non-negligible amount of memory) for large N. Increase the size of the virtual list control from 1000 to 10000000 in the sample to show this. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,6 +104,7 @@ wxMSW:
|
||||
- Allow using sizers for laying out wxMDIClientWindow (Artur Wieczorek).
|
||||
- Fix updating wxSlider background when its parent background changes.
|
||||
- Implement wxListBox::EnsureVisible() (RIVDSL).
|
||||
- Drastically improve efficiency of selecting all items in wxDataViewCtrl.
|
||||
|
||||
wxOSX/Cocoa:
|
||||
|
||||
|
Reference in New Issue
Block a user