Use ~/Application Support folder on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,6 +38,10 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__WXMAC__)
|
||||||
|
#include "wx/mac/private.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// wxStandardPaths implementation
|
// wxStandardPaths implementation
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
@@ -129,6 +133,8 @@ wxString wxStandardPaths::GetUserDataDir() const
|
|||||||
{
|
{
|
||||||
#ifdef __VMS
|
#ifdef __VMS
|
||||||
return wxFileName::GetHomeDir();
|
return wxFileName::GetHomeDir();
|
||||||
|
#elif defined(__WXMAC__)
|
||||||
|
return AppendAppName(wxMacFindFolder((short) kUserDomain, kApplicationSupportFolderType, kDontCreateFolder));
|
||||||
#else
|
#else
|
||||||
return AppendAppName(wxFileName::GetHomeDir() + _T("/."));
|
return AppendAppName(wxFileName::GetHomeDir() + _T("/."));
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user