From 1c66f293b6d7c7ef99cf8f8fc7b391d694e169f0 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 3 Jan 2002 10:25:42 +0000 Subject: [PATCH] added plain "*" as wildcard git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dirmac.cpp | 2 +- src/mac/dirmac.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) =="*" ) -- 2.50.0