added wxFileName::MakeAbsolute

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-01-18 00:01:18 +00:00
parent 7f891ef107
commit 0894707e7c
2 changed files with 61 additions and 41 deletions

View File

@@ -271,6 +271,13 @@ public:
bool MakeRelativeTo(const wxString& pathBase = _T(""),
wxPathFormat format = wxPATH_NATIVE);
// make the path absolute
//
// this may be done using another (than current) value of cwd
bool MakeAbsolute(const wxString& cwd = wxEmptyString,
wxPathFormat format = wxPATH_NATIVE)
{ return Normalize(wxPATH_NORM_DOTS | wxPATH_NORM_ABSOLUTE |
wxPATH_NORM_TILDE, cwd, format); }
// Comparison