X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d06e061dc11140151be2914c30c759ee15e3fe7..cab07038130a820b53b79a29464176ee8d429243:/docs/latex/wx/dirdlg.tex?ds=sidebyside diff --git a/docs/latex/wx/dirdlg.tex b/docs/latex/wx/dirdlg.tex index 0ad1387fdd..5ac906af22 100644 --- a/docs/latex/wx/dirdlg.tex +++ b/docs/latex/wx/dirdlg.tex @@ -18,7 +18,8 @@ This class represents the directory chooser dialog. \twocolwidtha{5cm} \begin{twocollist} -\twocolitem{\indexit{wxDD\_NEW\_DIR\_BUTTON}}{Add "Create new +\twocolitem{\windowstyle{wxDD\_DEFAULT\_STYLE}}{Equivalent to a combination of wxDEFAULT\_DIALOG\_STYLE, wxDD\_NEW\_DIR\_BUTTON and wxRESIZE\_BORDER (the last one is not used under wxWinCE).} +\twocolitem{\windowstyle{wxDD\_NEW\_DIR\_BUTTON}}{Add "Create new directory" button and allow directory names to be editable. On Windows the new directory button is only available with recent versions of the common dialogs.} @@ -35,7 +36,7 @@ See also \helpref{Generic window styles}{windowstyles}. \membersection{wxDirDialog::wxDirDialog}\label{wxdirdialogctor} \func{}{wxDirDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message = "Choose a directory"},\rtfsp -\param{const wxString\& }{defaultPath = ""}, \param{long }{style = 0},\rtfsp +\param{const wxString\& }{defaultPath = ""}, \param{long }{style = wxDD\_DEFAULT\_STYLE},\rtfsp \param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp \param{const wxSize\& }{size = wxDefaultSize},\rtfsp \param{const wxString\& }{name = "wxDirCtrl"}} @@ -51,7 +52,7 @@ the dialog. \docparam{defaultPath}{The default path, or the empty string.} -\docparam{style}{A dialog style, currently unused.} +\docparam{style}{The dialog style. See \helpref{wxDirDialog}{wxdirdialog}} \docparam{pos}{Dialog position. Ignored under Windows.} @@ -105,7 +106,7 @@ Sets the dialog style. This is currently unused. \func{int}{ShowModal}{\void} -Shows the dialog, returning wxID\_OK if the user pressed OK, and wxOK\_CANCEL +Shows the dialog, returning wxID\_OK if the user pressed OK, and wxID\_CANCEL otherwise.