]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
moved AdjustToClientAreaOrigin to wxWindowBase, needed worldwide for wxUniv
[wxWidgets.git] / 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;