]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dirmac.cpp
commented out an unused var
[wxWidgets.git] / src / mac / dirmac.cpp
index 5aed922f84dbdff17f665c032c7042991b011974..1acff5b7cab2b48900b3886c1644f9ebc0f49768 100644 (file)
@@ -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) =="*" )