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