git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12864
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
There are also UNC names of the form \\share\fullpath
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
names have the form
volume:dir1:...:dirN:filename
and the relative file names are either
wxFileName curDir;
format = GetFormat(format);
wxFileName curDir;
format = GetFormat(format);
// make the path absolute
if ( (flags & wxPATH_NORM_ABSOLUTE) && !IsAbsolute() )
{
// make the path absolute
if ( (flags & wxPATH_NORM_ABSOLUTE) && !IsAbsolute() )
{
// handle ~ stuff under Unix only
if ( (format == wxPATH_UNIX) && (flags & wxPATH_NORM_TILDE) )
{
// handle ~ stuff under Unix only
if ( (format == wxPATH_UNIX) && (flags & wxPATH_NORM_TILDE) )
{
- m_dirs.Remove(m_dirs.GetCount() - 1);
+ m_dirs.RemoveAt(m_dirs.GetCount() - 1);
while ( !m_dirs.IsEmpty() && !fnBase.m_dirs.IsEmpty() &&
m_dirs[0u].IsSameAs(fnBase.m_dirs[0u], withCase) )
{
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
}
// add as many ".." as needed