reverting to native mac pathnames

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2001-05-24 21:22:04 +00:00
parent 504aaaad1d
commit bedaf53eaf
20 changed files with 154 additions and 101 deletions

View File

@@ -533,7 +533,7 @@ int wxFileDialog::ShowModal()
}
else
{
m_path = wxMacFSSpec2UnixFilename( &reply.sfFile ) ;
m_path = wxMacFSSpec2MacFilename( &reply.sfFile ) ;
return wxID_OK ;
}
}
@@ -574,7 +574,7 @@ int wxFileDialog::ShowModal()
}
else
{
m_path = wxMacFSSpec2UnixFilename( &reply.sfFile ) ;
m_path = wxMacFSSpec2MacFilename( &reply.sfFile ) ;
return wxID_OK ;
}
}
@@ -609,7 +609,7 @@ int wxFileDialog::ShowModal()
// first appears
FSSpec location ;
wxUnixFilename2FSSpec( m_dir , &location ) ;
wxMacFilename2FSSpec( m_dir , &location ) ;
OSErr err = noErr ;
mDefaultLocation.descriptorType = typeNull;
@@ -704,7 +704,7 @@ int wxFileDialog::ShowModal()
// outFolderDirID = thePB.dirInfo.ioDrDirID;
m_path = wxMacFSSpec2UnixFilename( &outFileSpec ) ;
m_path = wxMacFSSpec2MacFilename( &outFileSpec ) ;
m_paths.Add( m_path ) ;
m_fileNames.Add(m_fileName);
}