X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e41796c6cb912b762276f14a75fbe014652b90b..acf8e3d29e897ade2087e3d9048e5c448823d391:/include/wx/filename.h diff --git a/include/wx/filename.h b/include/wx/filename.h index 7e9ee03a7b..debb4a3306 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -185,7 +185,7 @@ public: // VZ: also need: IsDirWritable(), IsFileExecutable() &c (TODO) // time functions - +#if wxUSE_DATETIME // set the file last access/mod and creation times // (any of the pointers may be NULL) bool SetTimes(const wxDateTime *dtAccess, @@ -208,6 +208,7 @@ public: (void)GetTimes(NULL, &dtMod, NULL); return dtMod; } +#endif // wxUSE_DATETIME #ifdef __WXMAC__ bool MacSetTypeAndCreator( wxUint32 type , wxUint32 creator ) ;