From 2a882b2bb37b25a6c3dd6f190baace24d915165a Mon Sep 17 00:00:00 2001 From: Catalin Date: Sat, 8 Aug 2015 17:57:21 +0300 Subject: [PATCH] Mention that temp dir is for current user. --- interface/wx/filename.h | 3 ++- interface/wx/stdpaths.h | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/interface/wx/filename.h b/interface/wx/filename.h index 9477201b69..c3a88ec494 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -773,7 +773,8 @@ public: static wxULongLong GetSize(const wxString& filename); /** - Returns the directory used for temporary files. + Returns the directory used for temporary files, for current user. Same as + wxStandardPaths::GetTempDir(). */ static wxString GetTempDir(); diff --git a/interface/wx/stdpaths.h b/interface/wx/stdpaths.h index 20baf39187..f5fcedb740 100644 --- a/interface/wx/stdpaths.h +++ b/interface/wx/stdpaths.h @@ -228,8 +228,9 @@ public: virtual wxString GetResourcesDir() const; /** - Return the directory for storing temporary files. - To create unique temporary files, it is best to use wxFileName::CreateTempFileName + Return the directory for storing temporary files, for the current user. Same as + wxFileName::GetTempDir(). + To create unique temporary files, it is best to use wxFileName::CreateTempFileName() for correct behaviour when multiple processes are attempting to create temporary files. @since 2.7.2