fixed warnings about pointer to integer cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -354,7 +354,7 @@ void wxFileData::MakeItem( wxListItem &item )
|
||||
if ( dg.Ok() )
|
||||
item.SetTextColour(dg);
|
||||
}
|
||||
item.m_data = (long)this;
|
||||
item.m_data = wxPtrToUInt(this);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -639,7 +639,7 @@ void wxFileCtrl::MakeDir()
|
||||
if (id != -1)
|
||||
{
|
||||
SortItems(m_sort_field, m_sort_foward);
|
||||
id = FindItem( 0, (long)fd );
|
||||
id = FindItem( 0, wxPtrToUInt(fd) );
|
||||
EnsureVisible( id );
|
||||
EditLabel( id );
|
||||
}
|
||||
|
Reference in New Issue
Block a user