Patch from Bo, adapt generic code to new API, add GetItemRect and HitTest

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-08-20 17:26:11 +00:00
parent 628f87da56
commit 66e09788ab
6 changed files with 182 additions and 44 deletions

View File

@@ -683,6 +683,9 @@ bool wxDataViewCtrlBase::ClearColumns()
wxDataViewColumn* wxDataViewCtrlBase::GetColumn( unsigned int pos )
{
if( pos >= m_cols.GetCount() )
return NULL;
return (wxDataViewColumn*) m_cols[ pos ];
}