updated mac sources (CW 5.3 working , CW6 still having code gen problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -180,6 +180,7 @@ int wxListBox::DoAppend(const wxString& item)
|
||||
m_dataArray.Add( NULL );
|
||||
}
|
||||
m_noItems ++;
|
||||
DoSetItemClientData( index , NULL ) ;
|
||||
MacAppend( item ) ;
|
||||
|
||||
return index ;
|
||||
@@ -255,6 +256,16 @@ int wxListBox::FindString(const wxString& st) const
|
||||
if ( EqualString( s1 , s2 , false , false ) )
|
||||
return i ;
|
||||
}
|
||||
if ( s.Left(1) = "*" && s.Length() > 1 )
|
||||
{
|
||||
s.MakeLower() ;
|
||||
for ( int i = 0 ; i < m_noItems ; ++i )
|
||||
{
|
||||
if ( GetString(i).Lower().Matches(s) )
|
||||
return i ;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user