git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18603
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
FSRef theRef;
// get the FSRef associated with the POSIX path
FSRef theRef;
// get the FSRef associated with the POSIX path
- err = FSPathMakeRef((const UInt8 *) m_dirname, &theRef, NULL);
+ err = FSPathMakeRef((const UInt8 *) m_dirname.c_str(), &theRef, NULL);
FSGetVRefNum(&theRef, &(m_CPB.hFileInfo.ioVRefNum));
err = FSGetNodeID( &theRef , &m_dirId , &m_isDir ) ;
FSGetVRefNum(&theRef, &(m_CPB.hFileInfo.ioVRefNum));
err = FSGetNodeID( &theRef , &m_dirId , &m_isDir ) ;
FSRef theRef;
// get the FSRef associated with the POSIX path
FSRef theRef;
// get the FSRef associated with the POSIX path
- err = FSPathMakeRef((const UInt8 *) m_dirname, &theRef, NULL);
+ err = FSPathMakeRef((const UInt8 *) m_dirname.c_str(), &theRef, NULL);
FSGetVRefNum(&theRef, &(m_CPB.hFileInfo.ioVRefNum));
err = FSGetNodeID( &theRef , &m_dirId , &m_isDir ) ;
FSGetVRefNum(&theRef, &(m_CPB.hFileInfo.ioVRefNum));
err = FSGetNodeID( &theRef , &m_dirId , &m_isDir ) ;