wxUIntPtr wxDataViewListStore::GetItemData( const wxDataViewItem& item ) const
{
wxDataViewListStoreLine* line = m_data[wxPtrToUInt( item.GetID() ) - 1];
- if (!line) return NULL;
+ if (!line) return static_cast<wxUIntPtr>(NULL);
return line->GetData();
}