X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f72124dbe5f289165f7c05ba6c3dcbef89e0ead6..a200c35efa060107d8243458fca160eb237b9c23:/src/common/filename.cpp diff --git a/src/common/filename.cpp b/src/common/filename.cpp index 3785a8682e..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;