]> git.saurik.com Git - wxWidgets.git/commitdiff
mention that SetSelection(-1, -1) selects everything
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Aug 2002 21:29:27 +0000 (21:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Aug 2002 21:29:27 +0000 (21:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/text.tex

index 5a55d4516f22805e505ee58f794bc5ef345dba7b..8bc4647878c6578b6dcb42aff461c9beb32af6c5 100644 (file)
@@ -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}