Add a new wxFileName function to resolve symlinks to absolute paths

This commit is contained in:
Ian McInerney
2021-04-01 18:40:21 +01:00
parent 152a2079b4
commit 53bd1391f4
5 changed files with 135 additions and 2 deletions

View File

@@ -389,6 +389,9 @@ public:
return !m_dontFollowLinks;
}
// Resolve a wxFileName object representing a link to its target
wxFileName ResolveLink();
#if defined(__WIN32__) && wxUSE_OLE
// if the path is a shortcut, return the target and optionally,
// the arguments