X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5716a1abb15bfe32b268d543b8f89b5d24118e93..a200c35efa060107d8243458fca160eb237b9c23:/src/common/filename.cpp diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 5e6c33816f..b9679a11a3 100644 --- a/src/common/filename.cpp +++ b/src/common/filename.cpp @@ -666,7 +666,7 @@ wxString wxFileName::GetLongPath() const pathOut = wxEmptyString; wxArrayString dirs = GetDirs(); - dirs.Add(GetName()); + dirs.Add(GetFullName()); size_t count = dirs.GetCount(); size_t i; @@ -717,7 +717,7 @@ wxPathFormat wxFileName::GetFormat( wxPathFormat format ) #if defined(__WXMSW__) || defined(__WXPM__) format = wxPATH_DOS; #elif defined(__WXMAC__) - format = wxPATH_UNIX; // that's the way the rest of wx' code works right now + format = wxPATH_MAC; #else format = wxPATH_UNIX; #endif