From 1a4e398732e84c8d1b0c0baf92b1ec9b3e9ba60e Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 21 Nov 2014 17:20:04 +0000 Subject: [PATCH] fix assert in dataview sample, closes #16679 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/dataview/mymodels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/dataview/mymodels.cpp b/samples/dataview/mymodels.cpp index 0d6bb72ab1..d0c2a09ba4 100644 --- a/samples/dataview/mymodels.cpp +++ b/samples/dataview/mymodels.cpp @@ -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; }