X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b70a2866d5dfc22a0888f874b4b9cd0b97a1760d..f11af0933155f94c7de5934738b0407c89e16e3f:/include/wx/filename.h diff --git a/include/wx/filename.h b/include/wx/filename.h index 762237b5ae..d56d2a2d90 100644 --- a/include/wx/filename.h +++ b/include/wx/filename.h @@ -270,6 +270,9 @@ public: void AssignHomeDir(); static wxString GetHomeDir(); + // get the system temporary directory + static wxString GetTempDir(); + #if wxUSE_FILE || wxUSE_FFILE // get a temp file name starting with the specified prefix void AssignTempFileName(const wxString& prefix); @@ -386,7 +389,7 @@ public: static wxString GetPathTerminators(wxPathFormat format = wxPATH_NATIVE); // get the canonical path separator for this format - static wxChar GetPathSeparator(wxPathFormat format = wxPATH_NATIVE) + static wxUniChar GetPathSeparator(wxPathFormat format = wxPATH_NATIVE) { return GetPathSeparators(format)[0u]; } // is the char a path separator for this format?