Error and warning corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -279,7 +279,7 @@ int wxDataViewIndexListModel::Compare( const wxDataViewItem &item1, const wxData
|
||||
void wxDataViewIndexListModel::GetValue( wxVariant &variant,
|
||||
const wxDataViewItem &item, unsigned int col ) const
|
||||
{
|
||||
return GetValue( variant, GetRow(item), col );
|
||||
GetValue( variant, GetRow(item), col );
|
||||
}
|
||||
|
||||
bool wxDataViewIndexListModel::SetValue( const wxVariant &variant,
|
||||
@@ -288,7 +288,7 @@ bool wxDataViewIndexListModel::SetValue( const wxVariant &variant,
|
||||
return SetValue( variant, GetRow(item), col );
|
||||
}
|
||||
|
||||
wxDataViewItem wxDataViewIndexListModel::GetParent( const wxDataViewItem &item ) const
|
||||
wxDataViewItem wxDataViewIndexListModel::GetParent( const wxDataViewItem & WXUNUSED(item) ) const
|
||||
{
|
||||
return wxDataViewItem(0);
|
||||
}
|
||||
@@ -321,7 +321,7 @@ wxDataViewItem wxDataViewIndexListModel::GetNextSibling( const wxDataViewItem &i
|
||||
return wxDataViewItem(0);
|
||||
|
||||
int pos = m_hash.Index( item.GetID() );
|
||||
if ((pos == wxNOT_FOUND) || (pos == m_hash.GetCount()-1))
|
||||
if ((pos == wxNOT_FOUND) || (pos == (int) (m_hash.GetCount()-1)))
|
||||
return wxDataViewItem(0);
|
||||
|
||||
return wxDataViewItem( m_hash[pos+1] );
|
||||
|
Reference in New Issue
Block a user