Fix gcc warning in wxDataViewListCtrl::ItemToRow().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -951,7 +951,7 @@ public:
|
||||
{ return (const wxDataViewListStore*) GetModel(); }
|
||||
|
||||
int ItemToRow(const wxDataViewItem &item) const
|
||||
{ return item.IsOk() ? GetStore()->GetRow(item) : wxNOT_FOUND; }
|
||||
{ return item.IsOk() ? (int)GetStore()->GetRow(item) : wxNOT_FOUND; }
|
||||
wxDataViewItem RowToItem(int row) const
|
||||
{ return row == wxNOT_FOUND ? wxDataViewItem() : GetStore()->GetItem(row); }
|
||||
|
||||
|
Reference in New Issue
Block a user