use wxFD_XXX constants instead of wxXXX in the docs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-10-08 11:35:32 +00:00
parent 697060e3e0
commit c438e941c4
4 changed files with 8 additions and 8 deletions

View File

@@ -122,7 +122,7 @@ Returns the default filename.
\constfunc{void}{GetFilenames}{\param{wxArrayString\& }{filenames}} \constfunc{void}{GetFilenames}{\param{wxArrayString\& }{filenames}}
Fills the array {\it filenames} with the names of the files chosen. This Fills the array {\it filenames} with the names of the files chosen. This
function should only be used with the dialogs which have {\tt wxMULTIPLE} style, function should only be used with the dialogs which have {\tt wxFD\_MULTIPLE} style,
use \helpref{GetFilename}{wxfiledialoggetfilename} for the others. use \helpref{GetFilename}{wxfiledialoggetfilename} for the others.
Note that under Windows, if the user selects shortcuts, the filenames Note that under Windows, if the user selects shortcuts, the filenames
@@ -155,7 +155,7 @@ Returns the full path (directory and filename) of the selected file.
\constfunc{void}{GetPaths}{\param{wxArrayString\& }{paths}} \constfunc{void}{GetPaths}{\param{wxArrayString\& }{paths}}
Fills the array {\it paths} with the full paths of the files chosen. This Fills the array {\it paths} with the full paths of the files chosen. This
function should only be used with the dialogs which have {\tt wxMULTIPLE} style, function should only be used with the dialogs which have {\tt wxFD\_MULTIPLE} style,
use \helpref{GetPath}{wxfiledialoggetpath} for the others. use \helpref{GetPath}{wxfiledialoggetpath} for the others.
\membersection{wxFileDialog::GetWildcard}\label{wxfiledialoggetwildcard} \membersection{wxFileDialog::GetWildcard}\label{wxfiledialoggetwildcard}

View File

@@ -1968,8 +1968,8 @@ The path and filename are distinct elements of a full file pathname.
If path is empty, the current directory will be used. If filename is empty, 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 no default filename will be supplied. The wildcard determines what files
are displayed in the file selector, and file extension supplies a type are displayed in the file selector, and file extension supplies a type
extension for the required filename. Flags may be a combination of wxOPEN, extension for the required filename. Flags may be a combination of wxFD\_OPEN,
wxSAVE, wxOVERWRITE\_PROMPT or wxFILE\_MUST\_EXIST. Note that wxMULTIPLE wxFD\_SAVE, wxFD\_OVERWRITE\_PROMPT or wxFD\_FILE\_MUST\_EXIST. Note that wxFD\_MULTIPLE
can only be used with \helpref{wxFileDialog}{wxfiledialog} and not here as this can only be used with \helpref{wxFileDialog}{wxfiledialog} and not here as this
function only returns a single file name. function only returns a single file name.

View File

@@ -474,7 +474,7 @@ It is usually a good idea to prepend a description before passing the result to
Example: Example:
\begin{verbatim} \begin{verbatim}
wxFileDialog FileDlg( this, "Choose Image", ::wxGetCwd(), "", _("Image Files ") + wxImage::GetImageExtWildcard(), wxOPEN ); wxFileDialog FileDlg( this, "Choose Image", ::wxGetCwd(), "", _("Image Files ") + wxImage::GetImageExtWildcard(), wxFD_OPEN );
\end{verbatim} \end{verbatim}
\wxheading{See also} \wxheading{See also}

View File

@@ -148,9 +148,9 @@ functionality. The path and filename are distinct elements of a full file pathna
If path is ``", the current directory will be used. If filename is ``", If path is ``", the current directory will be used. If filename is ``",
no default filename will be supplied. The wildcard determines what files no default filename will be supplied. The wildcard determines what files
are displayed in the file selector, and file extension supplies a type are displayed in the file selector, and file extension supplies a type
extension for the required filename. Flags may be a combination of wxOPEN, extension for the required filename. Flags may be a combination of wxFD\_OPEN,
wxSAVE, wxOVERWRITE\_PROMPT, wxHIDE\_READONLY, wxFILE\_MUST\_EXIST, wxFD\_SAVE, wxFD\_OVERWRITE\_PROMPT, wxFD\_FILE\_MUST\_EXIST,
wxMULTIPLE, wxCHANGE\_DIR or 0. wxFD\_MULTIPLE, wxFD\_CHANGE\_DIR or 0.
Both the X and Windows versions implement a wildcard filter. Typing a Both the X and Windows versions implement a wildcard filter. Typing a
filename containing wildcards (*, ?) in the filename text item, and filename containing wildcards (*, ?) in the filename text item, and