X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..35932e0596cb4ec38ff7a82d4fdf7ff98c4d9e97:/include/wx/filename.h diff --git a/include/wx/filename.h b/include/wx/filename.h index 547d080fc7..1d4f7f66d2 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -12,11 +12,6 @@ #ifndef _WX_FILENAME_H_ #define _WX_FILENAME_H_ -#ifndef WX_PRECOMP - #include "wx/string.h" - #include "wx/arrstr.h" -#endif - /* TODO: @@ -31,6 +26,7 @@ 3. SameFileAs() function to compare inodes under Unix */ +#include "wx/arrstr.h" #include "wx/filefn.h" #include "wx/datetime.h" @@ -447,7 +443,7 @@ public: { 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()