From 8918fb945a5850054543ca3e24baf3cdf38c901f 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/branches/WX_3_0_BRANCH@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 e1df2f0881..23efe59afd 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; }