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:
@@ -166,7 +166,11 @@ wxString wxStandardPathsCF::GetExecutablePath() const
|
|||||||
processinfo.processAppSpec = &fsSpec;
|
processinfo.processAppSpec = &fsSpec;
|
||||||
|
|
||||||
GetProcessInformation( &procno , &processinfo ) ;
|
GetProcessInformation( &procno , &processinfo ) ;
|
||||||
|
#ifdef __LP64__
|
||||||
|
return wxMacFSRefToPath(&fsRef);
|
||||||
|
#else
|
||||||
return wxMacFSSpec2MacFilename(&fsSpec);
|
return wxMacFSSpec2MacFilename(&fsSpec);
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
return wxStandardPathsBase::GetExecutablePath();
|
return wxStandardPathsBase::GetExecutablePath();
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user