From: Stefan Csomor Date: Thu, 3 Jan 2002 10:25:42 +0000 (+0000) Subject: added plain "*" as wildcard X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1c66f293b6d7c7ef99cf8f8fc7b391d694e169f0 added plain "*" as wildcard git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/dirmac.cpp b/src/mac/carbon/dirmac.cpp index 5aed922f84..c1b010f5f7 100644 --- a/src/mac/carbon/dirmac.cpp +++ b/src/mac/carbon/dirmac.cpp @@ -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) =="*" ) diff --git a/src/mac/dirmac.cpp b/src/mac/dirmac.cpp index 5aed922f84..c1b010f5f7 100644 --- a/src/mac/dirmac.cpp +++ b/src/mac/dirmac.cpp @@ -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) =="*" )