}
wxString name ;
+ wxString lowerfilespec = m_filespec.Lower();
while( noErr == err )
{
break ;
name = wxMacHFSUniStrToString( &uniname ) ;
+ wxString lowername = name.Lower();
if ( ( name == wxT(".") || name == wxT("..") ) && !(m_flags & wxDIR_DOTDOT) )
continue;
if ( m_filespec.empty() || m_filespec == wxT("*.*") || m_filespec == wxT("*") )
{
}
- else if ( !wxMatchWild(m_filespec, name , false) )
+ else if ( !wxMatchWild(lowerfilespec, lowername , false) )
{
continue ;
}