From: Stefan Csomor Date: Fri, 9 Nov 2007 20:57:38 +0000 (+0000) Subject: forward port from 2.8 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8b71ebada49b82fd7172f392fc9fb14e3556a38c forward port from 2.8 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/corefoundation/stdpaths_cf.cpp b/src/mac/corefoundation/stdpaths_cf.cpp index f8cf48355a..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