added plain "*" as wildcard

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-01-03 10:25:42 +00:00
parent 4c4d66e1e4
commit 1c66f293b6
2 changed files with 2 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ bool wxDirData::Read(wxString *filename)
continue ;
wxString file( m_name ) ;
if ( m_filespec.IsEmpty() || m_filespec == "*.*" )
if ( m_filespec.IsEmpty() || m_filespec == "*.*" || m_filespec == "*" )
{
}
else if ( m_filespec.Length() > 1 && m_filespec.Left(1) =="*" )