X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ac0693010cf3974ecf82d811829d13797805fb..3133cb9f53e68e69f9b9e7c06f07ccd285aba98b:/src/mac/dirmac.cpp?ds=sidebyside

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 <windows.h>
 #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) =="*" )