]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/filename.h
fix the tests to pass with both gcc and msvc (2nd part of patch 1462778)
[wxWidgets.git] / include / wx / filename.h
index cba406de3531b754c1e9a66f6c425c666e62cb33..1d4f7f66d2fa6e3b53d697ea75f9bbc8d4b0d524 100644 (file)
@@ -443,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()