X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5fde6fcc9b551340a194ae4c726db5ab64b5c594..94e2ed3b8db0220160c0b939782cd46914ec073a:/src/mac/dirdlg.cpp diff --git a/src/mac/dirdlg.cpp b/src/mac/dirdlg.cpp index 89b3892451..83533f1236 100644 --- a/src/mac/dirdlg.cpp +++ b/src/mac/dirdlg.cpp @@ -20,7 +20,7 @@ #include "wx/cmndata.h" -#if defined(__UNIX__) +#ifdef __DARWIN__ #include #else #include @@ -492,7 +492,7 @@ int wxDirDialog::ShowModal() } else { - m_path = wxMacFSSpec2UnixFilename( &reply.sfFile ) ; + m_path = wxMacFSSpec2MacFilename( &reply.sfFile ) ; return wxID_OK ; } return wxID_CANCEL; @@ -589,7 +589,7 @@ int wxDirDialog::ShowModal() name, &outFileSpec); // outFolderDirID = thePB.dirInfo.ioDrDirID; - m_path = wxMacFSSpec2UnixFilename( &outFileSpec ) ; + m_path = wxMacFSSpec2MacFilename( &outFileSpec ) ; return wxID_OK ; } return wxID_CANCEL;