X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04c943b139c676dc63320fcec3ad03d26d382986..8e38fd1fb0d8c4508383f3d9ce2f3ae0c6d39cfd:/include/wx/filename.h?ds=inline diff --git a/include/wx/filename.h b/include/wx/filename.h index d652009ce7..95666dc2b9 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -129,8 +129,7 @@ public: Assign(_T(""), path, name, ext, format); } - void AssignDir(const wxString& dir, wxPathFormat format = wxPATH_NATIVE) - { Assign(dir, _T(""), format); } + void AssignDir(const wxString& dir, wxPathFormat format = wxPATH_NATIVE); // assorted assignment operators @@ -190,8 +189,8 @@ public: // various file/dir operations // retrieve the value of the current working directory - void AssignCwd(); - static wxString GetCwd(); + void AssignCwd(const wxString& volume = wxEmptyString); + static wxString GetCwd(const wxString& volume = wxEmptyString); // change the current working directory bool SetCwd(); @@ -322,10 +321,7 @@ public: wxString *path, wxString *name, wxString *ext, - wxPathFormat format = wxPATH_NATIVE) - { - SplitPath(fullpath, NULL, path, name, ext, format); - } + wxPathFormat format = wxPATH_NATIVE); private: // the drive/volume/device specification (always empty for Unix)