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:
@@ -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, "");
|
||||
|
Reference in New Issue
Block a user