]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dir.h
Avoid warnings from VC++ 5.0
[wxWidgets.git] / include / wx / dir.h
index c87b753f6d39be2084253ccac0f01d2aaabb87ae..212d0586a2d0c75e2e81c7d33acc75827ba4b041 100644 (file)
@@ -138,6 +138,13 @@ public:
                               const wxString& filespec = wxEmptyString,
                               int flags = wxDIR_DEFAULT);
 
+    // check if there any files matching the given filespec under the given
+    // directory (i.e. searches recursively), return the file path if found or
+    // empty string otherwise
+    static wxString FindFirst(const wxString& dirname,
+                              const wxString& filespec,
+                              int flags = wxDIR_DEFAULT);
+
 private:
     friend class wxDirData;