fix unsigned/signed warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e854db32dd
commit
0b9cd93cad
@ -654,7 +654,7 @@ void wxListBox::MacDelete( int n )
|
|||||||
|
|
||||||
UInt32 id = m_noItems+1 ;
|
UInt32 id = m_noItems+1 ;
|
||||||
verify_noerr( m_peer->RemoveItems( kDataBrowserNoItem , 1 , (UInt32*) &id , kDataBrowserItemNoProperty ) ) ;
|
verify_noerr( m_peer->RemoveItems( kDataBrowserNoItem , 1 , (UInt32*) &id , kDataBrowserItemNoProperty ) ) ;
|
||||||
for ( int i = 0 ; i < selectionBefore.GetCount() ; ++i )
|
for ( size_t i = 0 ; i < selectionBefore.GetCount() ; ++i )
|
||||||
{
|
{
|
||||||
int current = selectionBefore[i] ;
|
int current = selectionBefore[i] ;
|
||||||
if ( current == n )
|
if ( current == n )
|
||||||
@ -764,7 +764,7 @@ int wxListBox::MacGetSelections( wxArrayInt& aSelections ) const
|
|||||||
m_peer->GetSelectionAnchor( &first , &last ) ;
|
m_peer->GetSelectionAnchor( &first , &last ) ;
|
||||||
if ( first != kDataBrowserNoItem )
|
if ( first != kDataBrowserNoItem )
|
||||||
{
|
{
|
||||||
for ( int i = first ; i <= last ; ++i )
|
for ( size_t i = first ; i <= last ; ++i )
|
||||||
{
|
{
|
||||||
if ( m_peer->IsItemSelected( i ) )
|
if ( m_peer->IsItemSelected( i ) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user