From 85339748425b2ceb82141d489ec37881525b5a27 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 23 May 2008 11:17:37 +0000 Subject: [PATCH] Update IsSelection() docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/event.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/interface/event.h b/interface/event.h index 125bff5a09..425d360c82 100644 --- a/interface/event.h +++ b/interface/event.h @@ -2073,8 +2073,10 @@ public: int GetSelection() const; /** - Returns item string for a listbox or choice selection event (not valid for - a deselection). + Returns item string for a listbox or choice selection event. If one + or several items have been deselected, returns the index of the first + deselected item. If some items have been selected and others deselected + at the same time, it will return the index of the first selected item. */ wxString GetString() const; @@ -2089,8 +2091,9 @@ public: bool IsChecked() const; /** - For a listbox or similar event, returns @true if it is a selection, @false if it - is a deselection. + For a listbox or similar event, returns @true if it is a selection, @false + if it is a deselection. If some items have been selected and others deselected + at the same time, it will return @true. */ bool IsSelection() const; -- 2.45.2