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:
Vadim Zeitlin
2005-09-25 23:36:10 +00:00
parent 3e8adad7d7
commit 9f542367b7
4 changed files with 29 additions and 16 deletions

View File

@@ -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 );
}