1. added wxFileName::CreateTempFileName() and implemented it properly (using
mkstemp() when available) 2. wxTempFile::Open() and wxGetTempFileName() now use CreateTempFileName() avoiding code duplication 3. updated the docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -265,15 +265,19 @@ if the buffer is NULL.
|
||||
|
||||
\func{bool}{wxGetTempFileName}{\param{const wxString\& }{prefix}, \param{wxString\& }{buf}}
|
||||
|
||||
Makes a temporary filename based on {\it prefix}, opens and closes the file,
|
||||
and places the name in {\it buf}. If {\it buf} is NULL, new store
|
||||
is allocated for the temporary filename using {\it new}.
|
||||
%% Makes a temporary filename based on {\it prefix}, opens and closes the file,
|
||||
%% and places the name in {\it buf}. If {\it buf} is NULL, new store
|
||||
%% is allocated for the temporary filename using {\it new}.
|
||||
%%
|
||||
%% Under Windows, the filename will include the drive and name of the
|
||||
%% directory allocated for temporary files (usually the contents of the
|
||||
%% TEMP variable). Under Unix, the {\tt /tmp} directory is used.
|
||||
%%
|
||||
%% It is the application's responsibility to create and delete the file.
|
||||
|
||||
Under Windows, the filename will include the drive and name of the
|
||||
directory allocated for temporary files (usually the contents of the
|
||||
TEMP variable). Under Unix, the {\tt /tmp} directory is used.
|
||||
|
||||
It is the application's responsibility to create and delete the file.
|
||||
These functions are obsolete, please use\rtfsp
|
||||
\helpref{wxFileName::CreateTempFileName}{wxfilenamecreatetempfilename}\rtfsp
|
||||
instead.
|
||||
|
||||
\membersection{::wxIsWild}\label{wxiswild}
|
||||
|
||||
|
Reference in New Issue
Block a user