git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61361
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxDataViewVirtualListModel::RowDeleted( unsigned int row )
{
void wxDataViewVirtualListModel::RowDeleted( unsigned int row )
{
wxDataViewItem item( wxUIntToPtr(row+1) );
wxDataViewModel::ItemDeleted( wxDataViewItem(0), item );
wxDataViewItem item( wxUIntToPtr(row+1) );
wxDataViewModel::ItemDeleted( wxDataViewItem(0), item );
}
void wxDataViewVirtualListModel::RowsDeleted( const wxArrayInt &rows )
{
}
void wxDataViewVirtualListModel::RowsDeleted( const wxArrayInt &rows )
{
+ m_size -= rows.GetCount();
+
wxArrayInt sorted = rows;
sorted.Sort( my_sort );
wxArrayInt sorted = rows;
sorted.Sort( my_sort );
array.Add( item );
}
wxDataViewModel::ItemsDeleted( wxDataViewItem(0), array );
array.Add( item );
}
wxDataViewModel::ItemsDeleted( wxDataViewItem(0), array );
-
- m_size -= rows.GetCount();
}
void wxDataViewVirtualListModel::RowChanged( unsigned int row )
}
void wxDataViewVirtualListModel::RowChanged( unsigned int row )