]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
warning fix
[wxWidgets.git] / src / common / filefn.cpp
index b2cf5e295005502c71be5d138e4cd8e912cbb0f6..422cb94d68df65db5628e016a9a7a457c62dd9f0 100644 (file)
@@ -1811,6 +1811,17 @@ void WXDLLEXPORT wxSplitPath(const wxChar *pszFileName,
     }
 }
 
+
+
+time_t WXDLLEXPORT wxFileModificationTime(const wxString& filename)
+{
+    struct stat buf;
+
+    stat(filename.fn_str(), &buf);
+    return buf.st_mtime;
+}
+
+
 //------------------------------------------------------------------------
 // wild character routines
 //------------------------------------------------------------------------