]> git.saurik.com Git - wxWidgets.git/commit
Remove nonsensical custom comparison code from wxDataViewIndexListModel.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 Mar 2012 23:43:46 +0000 (23:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 29 Mar 2012 23:43:46 +0000 (23:43 +0000)
commit33208b4ecb04e5380e6674d71c58e085f803d409
tree0fa0bb054e5c844c761bfcc59e3d828b01b17072
parentbe6b31f34fe03bc7ce708a8c4b077e41ac2f1362
Remove nonsensical custom comparison code from wxDataViewIndexListModel.

This model was comparing its items by their positions in the list instead of
their values for some reason. This broke sorting in wxDataViewListCtrl using
this model and simply didn't make any sense.

Just remove the comparison code from wxDataViewIndexListModel entirely, the
base class version works just fine for it.

Closes #14116.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/dataview.h
src/common/datavcmn.cpp