]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / common / filefn.cpp
index f4a1e78bcacff53f22efcafa80b9ac590610a41d..88d201fa0311b95bf010c9161f2d205b32a2b5c8 100644 (file)
@@ -1304,7 +1304,9 @@ wxString wxFindNextFile()
           nextDir != NULL;
           nextDir = readdir(gs_dirStream) )
     {
-        if (wxMatchWild(name, nextDir->d_name))
+        if (wxMatchWild(name, nextDir->d_name, FALSE) &&   // RR: added FALSE to find hidden files
+           strcmp(nextDir->d_name, ".") && 
+           strcmp(nextDir->d_name, "..") )
         {
             result.Empty();
             if ( !path.IsEmpty() )