X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d4e4f802f8a165c8d41053d2cd6d33c32b08f79..205b0c9c6aa69c02a7774846e677910bf1609a53:/src/mac/dirmac.cpp diff --git a/src/mac/dirmac.cpp b/src/mac/dirmac.cpp index 17d9397abd..0f250ccd5e 100644 --- a/src/mac/dirmac.cpp +++ b/src/mac/dirmac.cpp @@ -121,7 +121,7 @@ wxDirData::wxDirData(const wxString& dirname) 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 ) ;