X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ac0693010cf3974ecf82d811829d13797805fb..fbf456aa8952c6d2d3edeea1208b0e3159a3cb8d:/src/mac/dirmac.cpp diff --git a/src/mac/dirmac.cpp b/src/mac/dirmac.cpp index 5aed922f84..1acff5b7ca 100644 --- a/src/mac/dirmac.cpp +++ b/src/mac/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) =="*" )