]> git.saurik.com Git - wxWidgets.git/commitdiff
documented that SetSelection(-1) removes the selection
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Oct 2004 00:18:43 +0000 (00:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Oct 2004 00:18:43 +0000 (00:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/ctrlsub.tex

index 855d3e7ceaf7299199899d5e4c17b5f5327a321f..caac770407c6988bb847852a6a2d678e07067cda 100644 (file)
@@ -307,8 +307,10 @@ pointers had been associated with the control items before.
 
 \func{void}{SetSelection}{\param{int}{ n}}
 
-Sets the choice by passing the desired string position. This does not cause
-any command events to get emitted.
+Sets the selection to the given item \arg{n} or removes the selection entirely
+if \arg{n} $==$ \textt{wxNOT\_FOUND}.
+
+Note that this does not cause any command events to be emitted.
 
 \wxheading{Parameters}