]> git.saurik.com Git - wxWidgets.git/commitdiff
forward port from 2.8
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 9 Nov 2007 20:57:38 +0000 (20:57 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 9 Nov 2007 20:57:38 +0000 (20:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/corefoundation/stdpaths_cf.cpp

index f8cf48355a0e118d378c02458134914f4698ab48..fedc3982f09c9c6e554196085e0ae149780fd834 100644 (file)
@@ -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