-#ifdef __DARWIN__
- FSRef fsr ;
- err = FSpMakeFSRef( &outFileSpec , &fsr ) ;
- if ( err == fnfErr )
- {
- FSSpec fss ;
- err = FSMakeFSSpec( outFileSpec.vRefNum , outFileSpec.parID, "\p" , &fss ) ;
- err = FSpMakeFSRef( &fss , &fsr ) ;
- char path[256] ;
- err = FSRefMakePath( &fsr , (unsigned char*) path , sizeof(path) ) ;
- strcat( path , "/" ) ;
- p2cstr( outFileSpec.name ) ;
- strcat( path , (char*) outFileSpec.name ) ;
- m_path = path ;
- }
- else
- {
- m_path = wxMacFSSpec2MacFilename( &outFileSpec ) ;
- }
-#else