]> git.saurik.com Git - wxWidgets.git/commitdiff
documented SetSelection()
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Aug 2002 21:28:56 +0000 (21:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Aug 2002 21:28:56 +0000 (21:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/spinctrl.tex

index da0c9befc59a7d3ef182624734eefc6b5d69ea32..3fa2ecb4d45b82fe06bb683074c58be2a8999d91 100644 (file)
@@ -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}