X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55427034af624881dc0dea6b9e498d76c560204c..9f057af5efcd64383486a6d56b8a4703a0118abd:/docs/latex/wx/dir.tex?ds=sidebyside diff --git a/docs/latex/wx/dir.tex b/docs/latex/wx/dir.tex index 007b170b02..ed5c9d44bf 100644 --- a/docs/latex/wx/dir.tex +++ b/docs/latex/wx/dir.tex @@ -12,8 +12,8 @@ \section{\class{wxDir}}\label{wxdir} wxDir is a portable equivalent of Unix {open/read/close}dir functions which -allow enumerating of the files in a directory. wxDir allows enumerate files as -well as directories. +allow enumerating of the files in a directory. wxDir allows to enumerate files +as well as directories. wxDir also provides a flexible way to enumerate files recursively using \helpref{Traverse}{wxdirtraverse} or a simpler @@ -50,8 +50,8 @@ No base class \wxheading{Constants} -These flags define what kind of filenames is included in the list of files -enumerated by GetFirst/GetNext +These flags define what kind of filename is included in the list of files +enumerated by GetFirst/GetNext. {\small \begin{verbatim} @@ -106,7 +106,7 @@ Test for existence of a directory with the given name \func{static size\_t}{GetAllFiles}{\param{const wxString\& }{dirname}, \param{wxArrayString *}{files}, \param{const wxString\& }{filespec = wxEmptyString}, \param{int }{flags = wxDIR\_DEFAULT}} The function appends the names of all the files under directory {\it dirname} -to the array {\it files} (note that its old contents is preserved). Only files +to the array {\it files} (note that its old content is preserved). Only files matching the {\it filespec} are taken, with empty spec matching all the files. The {\it flags} parameter should always include {\tt wxDIR\_FILES} or the array @@ -136,8 +136,8 @@ trailing path separator (slash or backslash). \constfunc{bool}{GetNext}{\param{wxString* }{filename}} -Continue enumerating files satisfying the criteria specified by the last call -to \helpref{GetFirst}{wxdirgetfirst}. +Continue enumerating files which satisfy the criteria specified by the last +call to \helpref{GetFirst}{wxdirgetfirst}. \membersection{wxDir::HasFiles}\label{wxdirhasfiles} @@ -170,8 +170,8 @@ Returns true if the directory was successfully opened by a previous call to \func{bool}{Open}{\param{const wxString\& }{dir}} -Open the directory for enumerating, returns true on success or false if an -error occurred. +Open the directory for enumerating, returns {\tt true} on success +or {\tt false} if an error occurred. \membersection{wxDir::Traverse}\label{wxdirtraverse}