X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ac0693010cf3974ecf82d811829d13797805fb..d3bfec747ddf7b27e6f41f0117cd5cd6755fe021:/src/mac/carbon/dirmac.cpp?ds=sidebyside diff --git a/src/mac/carbon/dirmac.cpp b/src/mac/carbon/dirmac.cpp index 5aed922f84..1acff5b7ca 100644 --- a/src/mac/carbon/dirmac.cpp +++ b/src/mac/carbon/dirmac.cpp @@ -40,6 +40,8 @@ #include #endif +#include "wx/mac/private.h" + #include "MoreFiles.h" #include "MoreFilesExtras.h" @@ -165,7 +167,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) =="*" )