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:
@@ -156,6 +156,11 @@ bool wxDirData::Read(wxString *filename)
|
|||||||
strcpy( (char *)m_name, c_name);
|
strcpy( (char *)m_name, c_name);
|
||||||
#else
|
#else
|
||||||
p2cstr( m_name ) ;
|
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
|
#endif
|
||||||
if ( ( m_CPB.dirInfo.ioFlAttrib & ioDirMask) != 0 && (m_flags & wxDIR_DIRS) ) // we have a directory
|
if ( ( m_CPB.dirInfo.ioFlAttrib & ioDirMask) != 0 && (m_flags & wxDIR_DIRS) ) // we have a directory
|
||||||
break ;
|
break ;
|
||||||
|
@@ -156,6 +156,11 @@ bool wxDirData::Read(wxString *filename)
|
|||||||
strcpy( (char *)m_name, c_name);
|
strcpy( (char *)m_name, c_name);
|
||||||
#else
|
#else
|
||||||
p2cstr( m_name ) ;
|
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
|
#endif
|
||||||
if ( ( m_CPB.dirInfo.ioFlAttrib & ioDirMask) != 0 && (m_flags & wxDIR_DIRS) ) // we have a directory
|
if ( ( m_CPB.dirInfo.ioFlAttrib & ioDirMask) != 0 && (m_flags & wxDIR_DIRS) ) // we have a directory
|
||||||
break ;
|
break ;
|
||||||
|
Reference in New Issue
Block a user