From f7c40316d5bec67776970692e01fc53a5c3bfc2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 27 Sep 2005 16:38:17 +0000 Subject: [PATCH] wxItemContainerImmutable::FindString unified. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 2 ++ docs/latex/wx/ctrlsub.tex | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 7d7d9f4c52..d8a0460092 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -12,6 +12,8 @@ All: All (GUI): - added wxDialog::SetEscapeId() +- wxItemContainerImmutable::FindString unified (affects wxRadioBox, wxListBox, + wxComboBox and wxChoice) wxMSW: diff --git a/docs/latex/wx/ctrlsub.tex b/docs/latex/wx/ctrlsub.tex index 83079b643b..fcd01effb3 100644 --- a/docs/latex/wx/ctrlsub.tex +++ b/docs/latex/wx/ctrlsub.tex @@ -107,7 +107,7 @@ items in the control. \membersection{wxControlWithItems::FindString}\label{wxcontrolwithitemsfindstring} -\func{int}{FindString}{\param{const wxString\& }{string}} +\func{int}{FindString}{\param{const wxString\& }{string}, \param{bool}{ caseSensitive = false}} Finds an item whose label matches the given string. @@ -115,6 +115,8 @@ Finds an item whose label matches the given string. \docparam{string}{String to find.} +\docparam{caseSensitive}{Whether search is case sensitive (default is not).} + \wxheading{Return value} The zero-based position of the item, or {\tt wxNOT\_FOUND} if the string was -- 2.45.2