fix assert in dataview sample, closes #16679
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -381,7 +381,7 @@ void MyListModel::DeleteItems( const wxDataViewItemArray &items )
|
||||
{
|
||||
// none of the selected items were in the range of the items
|
||||
// which we store... for simplicity, don't allow removing them
|
||||
wxLogError( "Cannot remove rows with an index greater than %d", m_textColValues.GetCount() );
|
||||
wxLogError( "Cannot remove rows with an index greater than %u", unsigned(m_textColValues.GetCount()) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user