X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac371a8793676da77099932881c1fcf16daaef0f..0075ea227994861373b5b9ee0889e64bf079860b:/src/mac/corefoundation/stdpaths_cf.cpp diff --git a/src/mac/corefoundation/stdpaths_cf.cpp b/src/mac/corefoundation/stdpaths_cf.cpp index 925d220ecf..fedc3982f0 100644 --- a/src/mac/corefoundation/stdpaths_cf.cpp +++ b/src/mac/corefoundation/stdpaths_cf.cpp @@ -166,7 +166,11 @@ wxString wxStandardPathsCF::GetExecutablePath() const processinfo.processAppSpec = &fsSpec; GetProcessInformation( &procno , &processinfo ) ; +#ifdef __LP64__ + return wxMacFSRefToPath(&fsRef); +#else return wxMacFSSpec2MacFilename(&fsSpec); +#endif #else return wxStandardPathsBase::GetExecutablePath(); #endif @@ -201,7 +205,7 @@ wxString wxStandardPathsCF::GetResourcesDir() const } wxString -wxStandardPathsCF::GetLocalizedResourcesDir(const wxChar *lang, +wxStandardPathsCF::GetLocalizedResourcesDir(const wxString& lang, ResourceCat category) const { return wxStandardPathsBase::