]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filename.h
more wxFD_XXX renamings (patch 1488371)
[wxWidgets.git] / include / wx / filename.h
index 547d080fc7e696f7f13b7ea484b9e242572b1342..1d4f7f66d2fa6e3b53d697ea75f9bbc8d4b0d524 100644 (file)
 #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()