]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
Latest distutils
[wxWidgets.git] / src / common / filefn.cpp
index 4f86e7bd16d3f987bc2b85bfb9bf5fb55429c934..80c870d8b8094adaf0b2b48edc73fa954b16cc70 100644 (file)
@@ -196,7 +196,7 @@ const off_t wxInvalidOffset = (off_t)-1;
 // implementation
 // ============================================================================
 
-#if defined(__WXMAC__) && !defined(__DARWIN__)
+#if defined(__WXMAC__) && !defined(__DARWIN__) && !defined(wxUSE_UNICODE)
 
 WXDLLEXPORT int wxStat( const wxChar *file_name, wxStructStat *buf )
 {
@@ -977,7 +977,7 @@ wxString wxMacFSSpec2MacFilename( const FSSpec *spec )
     }
 
     // create path string for return value
-    wxString result( thePath ) ;
+    wxString result( thePath , wxConvLocal) ;
 #else
     Handle    myPath ;
     short     length ;