X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73c62f54176f802faed18a1e0ee78d64ad122da6..1d836590aa324b7d58481e27a4b1ad6399174a2c:/docs/latex/wx/spinctrl.tex diff --git a/docs/latex/wx/spinctrl.tex b/docs/latex/wx/spinctrl.tex index da0c9befc5..fe9243cee2 100644 --- a/docs/latex/wx/spinctrl.tex +++ b/docs/latex/wx/spinctrl.tex @@ -23,7 +23,7 @@ wxSpinCtrl combines \helpref{wxTextCtrl}{wxtextctrl} and \twocolwidtha{5cm} \begin{twocollist}\itemsep=0pt -\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys.} +\twocolitem{\windowstyle{wxSP\_ARROW\_KEYS}}{The user can use arrow keys to change the value.} \twocolitem{\windowstyle{wxSP\_WRAP}}{The value wraps at the minimum and maximum.} \end{twocollist} @@ -115,6 +115,17 @@ Gets the value of the spin control. Sets range of allowable values. +\membersection{wxSpinCtrl::SetSelection}\label{wxspinctrlsetselection} + +\func{void}{SetSelection}{\param{long }{from}, \param{long }{to}} + +Select the text in the text part of the control between positions +{\it from} (inclusive) and {\it to} (exclusive). This is similar to +\helpref{wxTextCtrl::SetSelection}{wxtextctrlsetselection}. + +{\bf NB:} this is currently only implemented for Windows and generic versions +of the control. + \membersection{wxSpinCtrl::GetMin}\label{wxspinctrlgetmin} \constfunc{int}{GetMin}{\void}