forward port from 2.8

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-11-09 20:57:38 +00:00
parent e7f9f819be
commit 8b71ebada4

View 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