X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e41796c6cb912b762276f14a75fbe014652b90b..cf6ae2907c365869b10b61cbe3bde2768facd4d8:/include/wx/filename.h diff --git a/include/wx/filename.h b/include/wx/filename.h index 7e9ee03a7b..e8a87042b8 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 ) ; @@ -393,9 +394,10 @@ public: // deprecated methods, don't use any more // -------------------------------------- +#ifndef __DIGITALMARS__ wxString GetPath( bool withSep, wxPathFormat format = wxPATH_NATIVE ) const { return GetPath(withSep ? wxPATH_GET_SEPARATOR : 0, format); } - +#endif wxString GetPathWithSep(wxPathFormat format = wxPATH_NATIVE ) const { return GetPath(wxPATH_GET_SEPARATOR, format); }