Add the possibility to disable invisible wxDataViewCtrl items.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Dec 2010 15:02:56 +0000 (15:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Dec 2010 15:02:56 +0000 (15:02 +0000)
commit98f8e6666b4622a7dc96292f9dfb215af81573d7
treeb4c62e88d57a6ded6e2bf5570924da452ddc9c37
parent46405e36bf9962b251e77e5048e96bf6a54edb15
Add the possibility to disable invisible wxDataViewCtrl items.

Add new wxDataViewModel::IsEnabled() and wxDataViewListStore::IsEnabledByRow()
methods and implement support for actually disabling the items in wxOSX/Cocoa
native implementation of wxDataViewCtrl and limited support for it in the
generic version.

We need to implement this in wxGTK using GtkCellRenderer "sensitive" propriety
later.

Closes #12686.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/dataview.h
include/wx/dvrenderers.h
include/wx/osx/dvrenderer.h
interface/wx/dataview.h
samples/dataview/dataview.cpp
samples/dataview/mymodels.cpp
samples/dataview/mymodels.h
src/common/datavcmn.cpp
src/generic/datavgen.cpp
src/osx/cocoa/dataview.mm