There are also UNC names of the form \\share\fullpath
- wxPATH_MAC: Mac OS 8/9 and Mac OS X under CodeWarrior 7 format, absolute file
+ wxPATH_MAC: Mac OS 8/9 and Mac OS X under CodeWarrior 7 format, absolute file
names have the form
volume:dir1:...:dirN:filename
and the relative file names are either
{
SetCwd(cwdOld);
}
-
+
return cwd;
}
wxFileName curDir;
format = GetFormat(format);
-
+
// make the path absolute
if ( (flags & wxPATH_NORM_ABSOLUTE) && !IsAbsolute() )
{
}
}
}
-
+
// handle ~ stuff under Unix only
if ( (format == wxPATH_UNIX) && (flags & wxPATH_NORM_TILDE) )
{
return FALSE;
}
- m_dirs.Remove(m_dirs.GetCount() - 1);
+ m_dirs.RemoveAt(m_dirs.GetCount() - 1);
continue;
}
}
while ( !m_dirs.IsEmpty() && !fnBase.m_dirs.IsEmpty() &&
m_dirs[0u].IsSameAs(fnBase.m_dirs[0u], withCase) )
{
- m_dirs.Remove(0u);
- fnBase.m_dirs.Remove(0u);
+ m_dirs.RemoveAt(0);
+ fnBase.m_dirs.RemoveAt(0);
}
// add as many ".." as needed