void CGUIGridList_Impl::SetItemData ( int iRow, int hColumn, const char* pszData ) { // Get the current item at that offset and set the text CGUIListItem* pItem = GetItem ( iRow, hColumn ); if ( pItem ) { pItem->SetData ( pszData ); } }
void CGUIGridList_Impl::SetItemData ( int iRow, int hColumn, void* pData, CGUICallback<void,void*> deleteDataCallback ) { // Get the current item at that offset and set the text CGUIListItem* pItem = GetItem ( iRow, hColumn ); if ( pItem ) { pItem->SetData ( pData, deleteDataCallback ); } }