From 88e29a58f1cac9064ae4e1bc97be3867f2d60b77 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 8 Jun 2004 05:28:53 +0000 Subject: [PATCH] switched to wxLocale usage for string encoding git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index ba3a3c83c6..e227020173 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -52,7 +52,6 @@ #if defined(__WXMAC__) #include "wx/mac/private.h" // includes mac headers - #include "wx/font.h" #endif #ifdef __WXWINCE__ @@ -943,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, ""); -- 2.47.2