X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96391f61cc8eaf49f5e548359eaf566a6ab30f37..f86190702bb433f139dc2c335e2c551755def81f:/src/osx/core/stdpaths_cf.cpp diff --git a/src/osx/core/stdpaths_cf.cpp b/src/osx/core/stdpaths_cf.cpp index e48de3c9b1..f5bf602b11 100644 --- a/src/osx/core/stdpaths_cf.cpp +++ b/src/osx/core/stdpaths_cf.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: mac/corefoundation/stdpaths.cpp +// Name: src/osx/core/stdpaths_cf.cpp // Purpose: wxStandardPaths implementation for CoreFoundation systems // Author: David Elliott // Modified by: @@ -83,7 +83,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