- filename = wxFileNameFromPath( path );
- /* Don't add "." and ".." to the tree. I think wxFindNextFile
- * also checks this, but I don't quite understand what happens
- * there. Also wxFindNextFile seems to swallow hidden dirs */
- if ( (filename != _T(".")) && (filename != _T("..")) )
- {
- m_paths.Add(path);
- m_names.Add(filename);
- }