Merge branch 'dvc-virtual-has-value'
Allow overriding wxDataViewModel::HasValue() to specify which cells should, and should not, show anything. Closes https://github.com/wxWidgets/wxWidgets/pull/1792 Closes #18724.
This commit is contained in:
@@ -266,6 +266,16 @@ public:
|
||||
virtual bool IsEnabledByRow(unsigned int row, unsigned int col) const wxOVERRIDE;
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// MyListStoreHasValueModel
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class MyListStoreHasValueModel : public MyListStoreDerivedModel
|
||||
{
|
||||
public:
|
||||
virtual bool HasValue(const wxDataViewItem &item, unsigned int col) const wxOVERRIDE;
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// MyIndexListModel
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user