From: Robert Roebling Date: Thu, 18 Dec 2008 21:26:34 +0000 (+0000) Subject: Correct AssignTempFile docs X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f95032cab9bc993556b99768ca5e4e8ed74b75fe Correct AssignTempFile docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/filename.h b/interface/wx/filename.h index ffaabdd23f..721c9c2f6c 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -148,6 +148,7 @@ wxULongLong wxInvalidSize; @li wxFileName::AssignCwd() @li wxFileName::AssignDir() @li wxFileName::AssignHomeDir() + @li wxFileName::AssignTempFileName() @li wxFileName::DirName() @li wxFileName::FileName() @li wxFileName::operator=() @@ -334,17 +335,32 @@ public: */ void AssignHomeDir(); - //@{ /** The function calls CreateTempFileName() to create a temporary file and sets this object to the name of the file. If a temporary file couldn't be created, the object is put into - an invalid state (see IsOk()) + an invalid state (see IsOk()). + */ + void AssignTempFileName(const wxString& prefix); + + /** + The function calls CreateTempFileName() to create a temporary + file name and open @a fileTemp with it. + + If the file couldn't be opened, the object is put into + an invalid state (see IsOk()). */ void AssignTempFileName(const wxString& prefix, wxFile* fileTemp); + + /** + The function calls CreateTempFileName() to create a temporary + file name and open @a fileTemp with it. + + If the file couldn't be opened, the object is put into + an invalid state (see IsOk()). + */ void AssignTempFileName(const wxString& prefix, wxFFile* fileTemp); - //@} /** Reset all components to default, uninitialized state.