]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed GetLongPath bug -- should use GetFullName and not GetName
authorJulian Smart <julian@anthemion.co.uk>
Mon, 20 Aug 2001 09:04:54 +0000 (09:04 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 20 Aug 2001 09:04:54 +0000 (09:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filename.cpp

index 3785a8682e8fa9445bf19869c47f33467067cb57..b9679a11a3a1326331db2c74a3ac4aaeb7ba8a25 100644 (file)
@@ -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;