#define CSIDL_PROGRAM_FILES 0x0026
#endif
+#ifndef CSIDL_PERSONAL
+ #define CSIDL_PERSONAL 0x0005
+#endif
+
#ifndef SHGFP_TYPE_CURRENT
#define SHGFP_TYPE_CURRENT 0
#endif
#ifndef SHGFP_TYPE_DEFAULT
#define SHGFP_TYPE_DEFAULT 1
#endif
-
// ----------------------------------------------------------------------------
// module globals
// ----------------------------------------------------------------------------
return fn.GetPath();
}
+wxString wxStandardPaths::GetDocumentsDir() const
+{
+ return DoGetDirectory(CSIDL_PERSONAL);
+}
+
// ----------------------------------------------------------------------------
// public functions
// ----------------------------------------------------------------------------