X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..1f65137f8de90aba96242d5e44b00dfd0efa4b67:/docs/latex/wx/ctrlsub.tex diff --git a/docs/latex/wx/ctrlsub.tex b/docs/latex/wx/ctrlsub.tex index 517e3f5830..a494823a1e 100644 --- a/docs/latex/wx/ctrlsub.tex +++ b/docs/latex/wx/ctrlsub.tex @@ -20,7 +20,7 @@ It defines the methods for accessing the controls items and although each of the derived classes implements them differently, they still all conform to the same interface. -The items in a wxControlWithItems have (non empty) string labels and, +The items in a wxControlWithItems have (non-empty) string labels and, optionally, client data associated with them. Client data may be of two different kinds: either simple untyped ({\tt void *}) pointers which are simply stored by the control but not used in any way by it, or typed pointers @@ -208,6 +208,13 @@ Returns the label of the item with the given index. The label of the item or an empty string if the position was invalid. +\membersection{wxControlWithItems::GetStrings}\label{wxcontrolwithitemsgetstrings} + +\constfunc{wxArrayString}{GetStrings}{\void} + +Returns the array of the labels of all items in the control. + + \membersection{wxControlWithItems::GetStringSelection}\label{wxcontrolwithitemsgetstringselection} \constfunc{wxString}{GetStringSelection}{\void} @@ -366,3 +373,4 @@ the control. \wxheading{See also} \helpref{SetSelection}{wxcontrolwithitemssetselection} +