X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96391f61cc8eaf49f5e548359eaf566a6ab30f37..4a2d030adfa836f6ada1830c9057170d053bcc64:/src/osx/core/stdpaths_cf.cpp diff --git a/src/osx/core/stdpaths_cf.cpp b/src/osx/core/stdpaths_cf.cpp index e48de3c9b1..86b34e646c 100644 --- a/src/osx/core/stdpaths_cf.cpp +++ b/src/osx/core/stdpaths_cf.cpp @@ -1,10 +1,9 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: mac/corefoundation/stdpaths.cpp +// Name: src/osx/core/stdpaths_cf.cpp // Purpose: wxStandardPaths implementation for CoreFoundation systems // Author: David Elliott // Modified by: // Created: 2004-10-27 -// RCS-ID: $Id$ // Copyright: (c) 2004 David Elliott // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -83,7 +82,7 @@ static wxString BundleRelativeURLToPath(CFURLRef relativeURL) wxCHECK_MSG(absoluteURL, wxEmptyString, wxT("Failed to resolve relative URL to absolute URL")); CFStringRef cfStrPath = CFURLCopyFileSystemPath(absoluteURL,kDefaultPathStyle); CFRelease(absoluteURL); - return wxCFStringRef(cfStrPath).AsString(wxLocale::GetSystemEncoding()); + return wxCFStringRef::AsStringWithNormalizationFormC(cfStrPath); } wxString wxStandardPathsCF::GetFromFunc(wxCFURLRef (*func)(wxCFBundleRef)) const