if ( InReportView() )
{
+ // Account for the header height if it's present.
+ if ( HasHeader() )
+ y -= GetListCtrl()->m_headerWin->GetSize().y + 1;
+
size_t current = y / GetLineHeight();
if ( current < count )
{
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") );