]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dirdlg.cpp
Initialized m_startint in the constructor to avoid cloning of uninitialized value
[wxWidgets.git] / src / mac / dirdlg.cpp
index 89b3892451a5fd8ce04cc44f1f4c3666fe1a0f5a..d1d906478ce833ffb79c69b4ad8c44231a1774d1 100644 (file)
@@ -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;