X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58a855e0626f27b0514e8d0d8b5e3e8b045c4ac7..7e9a386e10bf434956b4deb1e9a1cd45693c947f:/docs/latex/wx/function.tex diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 788836a1a7..2c9f8258ef 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -48,11 +48,12 @@ temporary storage that should not be deallocated. This function does directory searching; returns the first file that matches the path {\it spec}, or the empty string. Use \helpref{wxFindNextFile}{wxfindnextfile} to -get the next matching file. +get the next matching file. Neither will report the current directory "." or the +parent directory "..". {\it spec} may contain wildcards. -{\it flags} is reserved for future use. +{\it flags} may be wxDIR for restricting the query to directories, wxFILE for files or zero for either. For example: @@ -440,18 +441,15 @@ If path is empty, the current directory will be used. If filename is empty, no default filename will be supplied. The wildcard determines what files are displayed in the file selector, and file extension supplies a type extension for the required filename. Flags may be a combination of wxOPEN, -wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, or 0. They are only significant -at present in Windows. +wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, or 0. -Both the X and Windows versions implement a wildcard filter. Typing a +Both the Unix and Windows versions implement a wildcard filter. Typing a filename containing wildcards (*, ?) in the filename text item, and clicking on Ok, will result in only those files matching the pattern being -displayed. In the X version, supplying no default name will result in the -wildcard filter being inserted in the filename text item; the filter is -ignored if a default name is supplied. +displayed. -Under Windows (only), the wildcard may be a specification for multiple -types of file with a description for each, such as: +The wildcard may be a specification for multiple types of file +with a description for each, such as: \begin{verbatim} "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"