]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
Various layout fixes and such
[wxWidgets.git] / src / common / filefn.cpp
index c5c4267f2e80843f192168eee3aaa35d7835f3b4..e2270201730cb94c12673c4532c951838940b428 100644 (file)
@@ -51,7 +51,7 @@
 #endif
 
 #if defined(__WXMAC__)
-  #include  "wx/mac/private.h"  // includes mac headers
+    #include  "wx/mac/private.h"  // includes mac headers
 #endif
 
 #ifdef __WXWINCE__
@@ -942,7 +942,7 @@ wxString wxMacFSSpec2MacFilename( const FSSpec *spec )
 #endif
        CFStringRef cfString = CFURLCopyFileSystemPath(fullURLRef, pathstyle);
        ::CFRelease( fullURLRef ) ;
-       return wxMacCFStringHolder(cfString).AsString(wxFont::GetDefaultEncoding());
+       return wxMacCFStringHolder(cfString).AsString(wxLocale::GetSystemEncoding());
     }
 
     strcpy(thePath, "");