added wxFileModificationTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
//------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user