From: Vadim Zeitlin Date: Fri, 30 Aug 2002 21:29:27 +0000 (+0000) Subject: mention that SetSelection(-1, -1) selects everything X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4d7b7fc21217722b407320c5d599e3d316c72996 mention that SetSelection(-1, -1) selects everything git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index 5a55d4516f..8bc4647878 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -829,7 +829,9 @@ Only implemented in wxMSW/wxGTK starting with wxWindows 2.3.2. \func{virtual void}{SetSelection}{\param{long}{ from}, \param{long}{ to}} -Selects the text starting at the first position up to (but not including) the character at the last position. +Selects the text starting at the first position up to (but not including) the +character at the last position. If both parameters are equal to $-1$ all text +in the control is selected. \wxheading{Parameters}