git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54113
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxString wxStandardPathsCF::GetDocumentsDir() const
{
wxString wxStandardPathsCF::GetDocumentsDir() const
{
+#if defined( __WXMAC__ ) && !defined(__WXOSX_IPHONE__)
return wxMacFindFolderNoSeparator
(
kUserDomain,
return wxMacFindFolderNoSeparator
(
kUserDomain,
wxString wxStandardPathsCF::GetConfigDir() const
{
wxString wxStandardPathsCF::GetConfigDir() const
{
+#if defined( __WXMAC__ ) && !defined(__WXOSX_IPHONE__)
return wxMacFindFolder((short)kLocalDomain, kPreferencesFolderType, kCreateFolder);
#else
return wxT("/Library/Preferences");
return wxMacFindFolder((short)kLocalDomain, kPreferencesFolderType, kCreateFolder);
#else
return wxT("/Library/Preferences");
wxString wxStandardPathsCF::GetUserConfigDir() const
{
wxString wxStandardPathsCF::GetUserConfigDir() const
{
+#if defined( __WXMAC__ ) && !defined(__WXOSX_IPHONE__)
return wxMacFindFolder((short)kUserDomain, kPreferencesFolderType, kCreateFolder);
#else
return wxFileName::GetHomeDir() + wxT("/Library/Preferences");
return wxMacFindFolder((short)kUserDomain, kPreferencesFolderType, kCreateFolder);
#else
return wxFileName::GetHomeDir() + wxT("/Library/Preferences");
wxString wxStandardPathsCF::GetLocalDataDir() const
{
wxString wxStandardPathsCF::GetLocalDataDir() const
{
+#if defined( __WXMAC__ ) && !defined(__WXOSX_IPHONE__)
return AppendAppInfo(wxMacFindFolder((short)kLocalDomain, kApplicationSupportFolderType, kCreateFolder));
#else
return AppendAppInfo(wxT("/Library/Application Support"));
return AppendAppInfo(wxMacFindFolder((short)kLocalDomain, kApplicationSupportFolderType, kCreateFolder));
#else
return AppendAppInfo(wxT("/Library/Application Support"));
wxString wxStandardPathsCF::GetUserDataDir() const
{
wxString wxStandardPathsCF::GetUserDataDir() const
{
+#if defined( __WXMAC__ ) && !defined(__WXOSX_IPHONE__)
return AppendAppInfo(wxMacFindFolder((short)kUserDomain, kApplicationSupportFolderType, kCreateFolder));
#else
return AppendAppInfo(wxFileName::GetHomeDir() + _T("/Library/Application Support"));
return AppendAppInfo(wxMacFindFolder((short)kUserDomain, kApplicationSupportFolderType, kCreateFolder));
#else
return AppendAppInfo(wxFileName::GetHomeDir() + _T("/Library/Application Support"));