Mention that temp dir is for current user.

This commit is contained in:
Catalin 2015-08-08 17:57:21 +03:00
parent 1255322426
commit 2a882b2bb3
2 changed files with 5 additions and 3 deletions

View File

@ -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();

View File

@ -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