fix some harmless warnings (last two parts of patch 1779004)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -272,8 +272,10 @@ wxDataViewItem wxDataViewIndexListModel::GetItem( unsigned int row ) const
|
|||||||
return wxDataViewItem( m_hash[row] );
|
return wxDataViewItem( m_hash[row] );
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxDataViewIndexListModel::Compare( const wxDataViewItem &item1, const wxDataViewItem &item2,
|
int wxDataViewIndexListModel::Compare(const wxDataViewItem& item1,
|
||||||
unsigned int column, bool ascending )
|
const wxDataViewItem& item2,
|
||||||
|
unsigned int WXUNUSED(column),
|
||||||
|
bool ascending)
|
||||||
{
|
{
|
||||||
if (ascending)
|
if (ascending)
|
||||||
return GetRow(item1) - GetRow(item2);
|
return GetRow(item1) - GetRow(item2);
|
||||||
|
@@ -2074,7 +2074,7 @@ bool wxDataViewMainWindow::ItemDeleted(const wxDataViewItem& parent,
|
|||||||
}
|
}
|
||||||
bool isContainer = false;
|
bool isContainer = false;
|
||||||
wxDataViewTreeNodes nds = node->GetNodes();
|
wxDataViewTreeNodes nds = node->GetNodes();
|
||||||
for (int i = 0; i < nds.GetCount(); i ++)
|
for (size_t i = 0; i < nds.GetCount(); i ++)
|
||||||
{
|
{
|
||||||
if (nds[i]->GetItem() == item)
|
if (nds[i]->GetItem() == item)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user