projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxSnprintf() and wxVsnprintf() added, documented and used in wxLog
[wxWidgets.git]
/
src
/
common
/
filefn.cpp
diff --git
a/src/common/filefn.cpp
b/src/common/filefn.cpp
index f4a1e78bcacff53f22efcafa80b9ac590610a41d..88d201fa0311b95bf010c9161f2d205b32a2b5c8 100644
(file)
--- a/
src/common/filefn.cpp
+++ b/
src/common/filefn.cpp
@@
-1304,7
+1304,9
@@
wxString wxFindNextFile()
nextDir != NULL;
nextDir = readdir(gs_dirStream) )
{
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() )
{
result.Empty();
if ( !path.IsEmpty() )