From 26f2b058cf061e9f989dae665111eec7d20cbd21 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 18 Oct 2004 00:18:43 +0000 Subject: [PATCH] documented that SetSelection(-1) removes the selection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/ctrlsub.tex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/latex/wx/ctrlsub.tex b/docs/latex/wx/ctrlsub.tex index 855d3e7cea..caac770407 100644 --- a/docs/latex/wx/ctrlsub.tex +++ b/docs/latex/wx/ctrlsub.tex @@ -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}