X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a44f3b5a890fbb2a88ef9adafd94f662e1664889..94802614d1bfc0e94b73176fd1420690fb2f54d8:/interface/wx/filename.h diff --git a/interface/wx/filename.h b/interface/wx/filename.h index 4917fecce9..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. @@ -546,7 +562,7 @@ public: @see GetPathSeparators() */ - static wxChar GetPathSeparator(wxPathFormat format = wxPATH_NATIVE); + static wxUniChar GetPathSeparator(wxPathFormat format = wxPATH_NATIVE); /** Returns the string containing all the path separators for this format.