#ifndef _WX_FILENAME_H_
#define _WX_FILENAME_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "filename.h"
-#endif
-
-#ifndef WX_PRECOMP
- #include "wx/string.h"
- #include "wx/arrstr.h"
-#endif
-
/*
TODO:
3. SameFileAs() function to compare inodes under Unix
*/
+#include "wx/arrstr.h"
#include "wx/filefn.h"
#include "wx/datetime.h"
{ return GetPath(withSep ? wxPATH_GET_SEPARATOR : 0, format); }
#endif
wxString GetPathWithSep(wxPathFormat format = wxPATH_NATIVE ) const
- { return GetPath(wxPATH_GET_SEPARATOR, format); }
+ { return GetPath(wxPATH_GET_VOLUME | wxPATH_GET_SEPARATOR, format); }
private:
// check whether this dir is valid for Append/Prepend/InsertDir()