X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e41796c6cb912b762276f14a75fbe014652b90b..aae91497f6ac36a76d3313cf405cae0f098ea1d1:/include/wx/filename.h diff --git a/include/wx/filename.h b/include/wx/filename.h index 7e9ee03a7b..647e231e94 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -6,7 +6,7 @@ // Created: 28.12.00 // RCS-ID: $Id$ // Copyright: (c) 2000 Robert Roebling -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _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 ) ;