Allow wxGenericListCtrl to correctly handle Get/SetScrollPos [bug 1584099].

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2006-12-01 20:31:25 +00:00
parent d10d4362bb
commit bb29edfaa2
2 changed files with 13 additions and 0 deletions

View File

@@ -5225,6 +5225,16 @@ wxColour wxGenericListCtrl::GetItemBackgroundColour( long item ) const
return info.GetBackgroundColour();
}
int wxGenericListCtrl::GetScrollPos( int orient ) const
{
return m_mainWin->GetScrollPos( orient );
}
void wxGenericListCtrl::SetScrollPos( int orient, int pos, bool refresh )
{
m_mainWin->SetScrollPos( orient, pos, refresh );
}
void wxGenericListCtrl::SetItemFont( long item, const wxFont &f )
{
wxListItem info;