X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aaa6f9ba6bd0be1fe6a34800e6f753ffdc49900c..380a5dd80316202b472967e898feba1386ea5345:/docs/latex/wx/dirpicker.tex?ds=sidebyside diff --git a/docs/latex/wx/dirpicker.tex b/docs/latex/wx/dirpicker.tex index f9bd32ffea..67b3931ecf 100644 --- a/docs/latex/wx/dirpicker.tex +++ b/docs/latex/wx/dirpicker.tex @@ -32,7 +32,8 @@ It is only available if \texttt{wxUSE\_DIRPICKERCTRL} is set to $1$ (the default \twocolwidtha{5cm}% \begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxDIRP\_DEFAULT\_STYLE}}{Default style.} +\twocolitem{\windowstyle{wxDIRP\_DEFAULT\_STYLE}}{The default style: includes +wxDIRP\_DIR\_MUST\_EXIST and, under wxMSW only, wxDIRP\_USE\_TEXTCTRL.} \twocolitem{\windowstyle{wxDIRP\_USE\_TEXTCTRL}}{Creates a text control to the left of the picker button which is completely managed by the \helpref{wxDirPickerCtrl}{wxdirpickerctrl} and which can be used by the user to specify a path (see \helpref{SetPath}{wxdirpickerctrlsetpath}). @@ -47,7 +48,10 @@ The text control is automatically synchronized with button's value. Use function \twocolwidtha{7cm}% \begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_DIRPICKER\_CHANGED(id, func)}}{The user changed the directory selected in the control either using the button or using text control (see wxDIRP_USE_TEXTCTRL; note that in this case the event is fired only if the user's input is valid, e.g. an existing directory path).} +\twocolitem{{\bf EVT\_DIRPICKER\_CHANGED(id, func)}}{The user changed the +directory selected in the control either using the button or using text control +(see wxDIRP\_USE\_TEXTCTRL; note that in this case the event is fired only if +the user's input is valid, e.g. an existing directory path).} \end{twocollist} \wxheading{See also} @@ -115,14 +119,14 @@ all the parameters. \constfunc{wxString}{GetPath}{\void} -Returns the currently selected directory. +Returns the absolute path of the currently selected directory. \membersection{wxDirPickerCtrl::SetPath}\label{wxdirpickerctrlsetpath} \func{void}{SetPath}{\param{const wxString \&}{dirname}} -Sets the currently selected directory. his must be a valid directory if +Sets the absolute path of the currently selected directory. This must be a valid directory if {\tt wxDIRP\_DIR\_MUST\_EXIST} style was given.