X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dabd1377ce769598bda630dfad548be055e2a89b..fa1af598d62a71f7e7054a0dcc7b209e91e58873:/docs/latex/wx/dirdlg.tex diff --git a/docs/latex/wx/dirdlg.tex b/docs/latex/wx/dirdlg.tex index 3662942693..9732133997 100644 --- a/docs/latex/wx/dirdlg.tex +++ b/docs/latex/wx/dirdlg.tex @@ -18,10 +18,10 @@ This class represents the directory chooser dialog. \twocolwidtha{5cm} \begin{twocollist} -\twocolitem{\indexit{wxDD\_NEW\_DIR\_BUTTON}}{Add "Create new directory" button and allow -directory names to be editable. Available only on platforms that use the generic -dialog chooser: GTK+, Motif, X11, MGL. For other platforms, use the wxGenericDirDialog -implementation explicitly if you wish to use this style.} +\twocolitem{\indexit{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.} \end{twocollist} See also \helpref{Generic window styles}{windowstyles}. @@ -32,12 +32,16 @@ See also \helpref{Generic window styles}{windowstyles}. \latexignore{\rtfignore{\wxheading{Members}}} -\membersection{wxDirDialog::wxDirDialog}\label{wxdirdialogconstr} +\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}, \param{const wxPoint\& }{pos = wxDefaultPosition}} +\param{const wxString\& }{defaultPath = ""}, \param{long }{style = 0},\rtfsp +\param{const wxPoint\& }{pos = wxDefaultPosition},\rtfsp +\param{const wxSize\& }{size = wxDefaultSize},\rtfsp +\param{const wxString\& }{name = "wxDirCtrl"}} -Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show the dialog. +Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show +the dialog. \wxheading{Parameters} @@ -49,9 +53,13 @@ Constructor. Use \helpref{wxDirDialog::ShowModal}{wxdirdialogshowmodal} to show \docparam{style}{A dialog style, currently unused.} -\docparam{pos}{Dialog position. Not implemented.} +\docparam{pos}{Dialog position. Ignored under Windows.} -\membersection{wxDirDialog::\destruct{wxDirDialog}} +\docparam{size}{Dialog size. Ignored under Windows.} + +\docparam{name}{The dialog name, not used.} + +\membersection{wxDirDialog::\destruct{wxDirDialog}}\label{wxdirdialogdtor} \func{}{\destruct{wxDirDialog}}{\void} @@ -97,7 +105,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.