]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/filedlg.cpp
added generic color dialog to setup
[wxWidgets.git] / src / mac / carbon / filedlg.cpp
index 406ce43b19e230cf98e0b4b09a71970bba1688d6..42c94640ef3b0884eb331e9998a782f4b7c609d8 100644 (file)
@@ -533,7 +533,7 @@ int wxFileDialog::ShowModal()
                }
                else
                {
                }
                else
                {
-                       m_path = wxMacFSSpec2UnixFilename( &reply.sfFile ) ;
+                       m_path = wxMacFSSpec2MacFilename( &reply.sfFile ) ;
                        return wxID_OK ;
                }
        }
                        return wxID_OK ;
                }
        }
@@ -574,7 +574,7 @@ int wxFileDialog::ShowModal()
                }
                else
                {
                }
                else
                {
-                       m_path = wxMacFSSpec2UnixFilename( &reply.sfFile ) ;
+                       m_path = wxMacFSSpec2MacFilename( &reply.sfFile ) ;
                        return wxID_OK ;
                }
        }
                        return wxID_OK ;
                }
        }
@@ -609,7 +609,7 @@ int wxFileDialog::ShowModal()
                //   first appears
                
                FSSpec location ;
                //   first appears
                
                FSSpec location ;
-               wxUnixFilename2FSSpec( m_dir , &location ) ;
+               wxMacFilename2FSSpec( m_dir , &location ) ;
                OSErr err = noErr ;
                
                mDefaultLocation.descriptorType = typeNull;
                OSErr err = noErr ;
                
                mDefaultLocation.descriptorType = typeNull;
@@ -704,7 +704,7 @@ int wxFileDialog::ShowModal()
 
                                                                
                                // outFolderDirID = thePB.dirInfo.ioDrDirID;
 
                                                                
                                // outFolderDirID = thePB.dirInfo.ioDrDirID;
-                               m_path = wxMacFSSpec2UnixFilename( &outFileSpec ) ;
+                               m_path = wxMacFSSpec2MacFilename( &outFileSpec ) ;
                                m_paths.Add( m_path ) ;
                    m_fileNames.Add(m_fileName);
                 }
                                m_paths.Add( m_path ) ;
                    m_fileNames.Add(m_fileName);
                 }