fixed mounting points under /Volumes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
33c8cf5e8c
commit
fac9b0cf88
@ -156,6 +156,11 @@ bool wxDirData::Read(wxString *filename)
|
||||
strcpy( (char *)m_name, c_name);
|
||||
#else
|
||||
p2cstr( m_name ) ;
|
||||
#endif
|
||||
#if TARGET_CARBON
|
||||
// under X thats the way the mounting points look like
|
||||
if ( ( m_CPB.dirInfo.ioDrDirID == 0 ) && ( m_flags & wxDIR_DIRS) )
|
||||
break ;
|
||||
#endif
|
||||
if ( ( m_CPB.dirInfo.ioFlAttrib & ioDirMask) != 0 && (m_flags & wxDIR_DIRS) ) // we have a directory
|
||||
break ;
|
||||
|
@ -156,6 +156,11 @@ bool wxDirData::Read(wxString *filename)
|
||||
strcpy( (char *)m_name, c_name);
|
||||
#else
|
||||
p2cstr( m_name ) ;
|
||||
#endif
|
||||
#if TARGET_CARBON
|
||||
// under X thats the way the mounting points look like
|
||||
if ( ( m_CPB.dirInfo.ioDrDirID == 0 ) && ( m_flags & wxDIR_DIRS) )
|
||||
break ;
|
||||
#endif
|
||||
if ( ( m_CPB.dirInfo.ioFlAttrib & ioDirMask) != 0 && (m_flags & wxDIR_DIRS) ) // we have a directory
|
||||
break ;
|
||||
|
Loading…
Reference in New Issue
Block a user