if ( ref )
{
wxListBox* list = wxDynamicCast( (wxObject*) ref , wxListBox ) ;
- size_t i = itemID - 1 ;
+ int i = itemID - 1 ;
if (i >= 0 && i < list->GetCount() )
{
bool trigger = false ;
if ( ref )
{
wxListBox* list = wxDynamicCast( (wxObject*) ref , wxListBox ) ;
- size_t i = itemID - 1 ;
+ int i = itemID - 1 ;
if (i >= 0 && i < list->GetCount() )
{
wxMacCFStringHolder cf( list->GetString(i) , list->GetFont().GetEncoding() ) ;
int wxListBox::MacGetSelection() const
{
- for ( size_t i = 0 ; i < GetCount() ; ++i )
+ for ( int i = 0 ; i < GetCount() ; ++i )
{
if ( m_peer->IsItemSelected( i + 1 ) )
{
int no_sel = 0 ;
aSelections.Empty();
- for ( size_t i = 0 ; i < GetCount() ; ++i )
+ for ( int i = 0 ; i < GetCount() ; ++i )
{
if ( m_peer->IsItemSelected( i + 1 ) )
{