Add wxListCtrl::EnableAlternateRowColours() and SetAlternateRowColour().
Add methods to simply enable alternative row background colours in wxListCtrl. Closes #14618. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5397,16 +5397,6 @@ int wxGenericListCtrl::OnGetItemColumnImage(long item, long column) const
|
||||
return -1;
|
||||
}
|
||||
|
||||
wxListItemAttr *
|
||||
wxGenericListCtrl::OnGetItemAttr(long WXUNUSED_UNLESS_DEBUG(item)) const
|
||||
{
|
||||
wxASSERT_MSG( item >= 0 && item < GetItemCount(),
|
||||
wxT("invalid item index in OnGetItemAttr()") );
|
||||
|
||||
// no attributes by default
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void wxGenericListCtrl::SetItemCount(long count)
|
||||
{
|
||||
wxASSERT_MSG( IsVirtual(), wxT("this is for virtual controls only") );
|
||||
|
Reference in New Issue
Block a user