: m_bundle(CFBundleGetMainBundle())
{
CFRetain(m_bundle);
- UseAppInfo(AppInfo_AppName | AppInfo_VendorName);
}
wxStandardPathsCF::wxStandardPathsCF(wxCFBundleRef bundle)
: m_bundle(bundle)
{
CFRetain(m_bundle);
- UseAppInfo(AppInfo_AppName | AppInfo_VendorName);
}
wxStandardPathsCF::~wxStandardPathsCF()
#else
FSSpec fsSpec;
#endif
-
+
procno.highLongOfPSN = 0 ;
procno.lowLongOfPSN = kCurrentProcess ;
processinfo.processInfoLength = sizeof(ProcessInfoRec);
#else
processinfo.processAppSpec = &fsSpec;
#endif
-
+
GetProcessInformation( &procno , &processinfo ) ;
#ifdef __LP64__
return wxMacFSRefToPath(&fsRef);
return wxMacFSSpec2MacFilename(&fsSpec);
#endif
#endif
-
+
#else
return wxStandardPathsBase::GetExecutablePath();
#endif