From: Julian Smart Date: Mon, 20 Aug 2001 09:04:54 +0000 (+0000) Subject: Fixed GetLongPath bug -- should use GetFullName and not GetName X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bcbe86e5922c9a1e4814a44afb8f33e9694bee6a Fixed GetLongPath bug -- should use GetFullName and not GetName git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;