X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76e9224eb2edea8afe45faa6a1cd1b2894d245c2..a70ab3b804b6c363f8bcbed0b4fce94b7fb03612:/interface/wx/filename.h diff --git a/interface/wx/filename.h b/interface/wx/filename.h index 2310985da8..4917fecce9 100644 --- a/interface/wx/filename.h +++ b/interface/wx/filename.h @@ -334,14 +334,17 @@ 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()) */ - void AssignTempFileName(const wxString& prefix, - wxFile* fileTemp = NULL); + void AssignTempFileName(const wxString& prefix, wxFile* fileTemp); + void AssignTempFileName(const wxString& prefix, wxFFile* fileTemp); + //@} /** Reset all components to default, uninitialized state.