#include "wx/mac/private.h"
#endif
#include "wx/mac/corefoundation/cfstring.h"
+#include "wx/mac/private.h"
#if defined(__DARWIN__)
#include <CoreFoundation/CFBundle.h>
return ret;
}
+wxString wxStandardPathsCF::GetDocumentsDir() const
+{
+#ifdef __WXMAC__
+ return wxMacFindFolderNoSeparator
+ (
+#if TARGET_API_MAC_OSX
+ kUserDomain,
+#else
+ kOnSystemDisk,
+#endif
+ kDocumentsFolderType,
+ kCreateFolder
+ );
+#else
+ return wxFileName::GetHomeDir() + wxT("/Documents");
+#endif
+}
+
// ----------------------------------------------------------------------------
// wxStandardPathsCF public API
// ----------------------------------------------------------------------------