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:
Julian Smart 2005-12-08 21:49:52 +00:00
parent 739b752912
commit 789e2d57b8

View File

@ -38,6 +38,10 @@
#include <unistd.h>
#endif
#if defined(__WXMAC__)
#include "wx/mac/private.h"
#endif
// ============================================================================
// wxStandardPaths implementation
// ============================================================================
@ -129,6 +133,8 @@ wxString wxStandardPaths::GetUserDataDir() const
{
#ifdef __VMS
return wxFileName::GetHomeDir();
#elif defined(__WXMAC__)
return AppendAppName(wxMacFindFolder((short) kUserDomain, kApplicationSupportFolderType, kDontCreateFolder));
#else
return AppendAppName(wxFileName::GetHomeDir() + _T("/."));
#endif