switched to wxLocale usage for string encoding

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2004-06-08 05:28:53 +00:00
parent 4a3b9daf8b
commit 88e29a58f1

View File

@@ -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, "");