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:
@@ -165,7 +165,7 @@ bool wxDirData::Read(wxString *filename)
|
|||||||
continue ;
|
continue ;
|
||||||
|
|
||||||
wxString file( m_name ) ;
|
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) =="*" )
|
else if ( m_filespec.Length() > 1 && m_filespec.Left(1) =="*" )
|
||||||
|
@@ -165,7 +165,7 @@ bool wxDirData::Read(wxString *filename)
|
|||||||
continue ;
|
continue ;
|
||||||
|
|
||||||
wxString file( m_name ) ;
|
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) =="*" )
|
else if ( m_filespec.Length() > 1 && m_filespec.Left(1) =="*" )
|
||||||
|
Reference in New Issue
Block a user