]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/stdpaths.cpp
Revert inclusion of wx/dateevt.h for now, as it breaks linkage
[wxWidgets.git] / src / unix / stdpaths.cpp
index fbecba3600730cee85065f3db5af5ff078579fc8..fc50fe8ae5178f6d9aaa38f9acacbc6295720dd3 100644 (file)
     #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