wxStandardPathsBase::wxStandardPathsBase() { // Set the default information that is used when // forming some paths (by AppendAppInfo). // Derived classes can call this in their constructors // to set the platform-specific settings UseAppInfo(AppInfo_AppName); }
wxStandardPathsCF::wxStandardPathsCF(wxCFBundleRef bundle) : m_bundle(bundle) { CFRetain(m_bundle); UseAppInfo(AppInfo_AppName | AppInfo_VendorName); }
wxStandardPathsCF::wxStandardPathsCF() : m_bundle(CFBundleGetMainBundle()) { CFRetain(m_bundle); UseAppInfo(AppInfo_AppName | AppInfo_VendorName); }