return GetFromFunc(CFBundleCopySharedSupportURL);
}
+// TODO: implement this using real CoreFoundation API instead of Carbon API
wxString wxStandardPathsCF::GetExecutablePath() const
{
+#ifdef __WXMAC__
ProcessInfoRec processinfo;
ProcessSerialNumber procno ;
FSSpec fsSpec;
GetProcessInformation( &procno , &processinfo ) ;
return wxMacFSSpec2MacFilename(&fsSpec);
+#else
+ return wxStandardPathsBase::GetExecutablePath();
+#endif
}
wxString wxStandardPathsCF::GetLocalDataDir() const