git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18075
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
\membersection{wxChoice::Append}\label{wxchoiceappend}
\membersection{wxChoice::Append}\label{wxchoiceappend}
-\func{void}{Append}{\param{const wxString\& }{ item}}
+\func{int}{Append}{\param{const wxString\& }{ item}}
Adds the item to the end of the choice control.
Adds the item to the end of the choice control.
-\func{void}{Append}{\param{const wxString\& }{ item}, \param{void* }{clientData}}
+\func{int}{Append}{\param{const wxString\& }{ item}, \param{void* }{clientData}}
Adds the item to the end of the combobox, associating the given data
with the item.
Adds the item to the end of the combobox, associating the given data
with the item.
\docparam{clientData}{Client data to associate with the item.}
\docparam{clientData}{Client data to associate with the item.}
+\wxheading{Return value}
+
+The index of the newly added item, may be different from the last one if the
+control has {\tt wxLB\_SORT} style.
+
\membersection{wxChoice::Clear}\label{wxchoiceclear}
\func{void}{Clear}{\void}
\membersection{wxChoice::Clear}\label{wxchoiceclear}
\func{void}{Clear}{\void}
\membersection{wxComboBox::Append}\label{wxcomboboxappend}
\membersection{wxComboBox::Append}\label{wxcomboboxappend}
-\func{void}{Append}{\param{const wxString\& }{item}}
+\func{int}{Append}{\param{const wxString\& }{item}}
Adds the item to the end of the combobox.
Adds the item to the end of the combobox.
-\func{void}{Append}{\param{const wxString\& }{ item}, \param{void* }{clientData}}
+\func{int}{Append}{\param{const wxString\& }{ item}, \param{void* }{clientData}}
Adds the item to the end of the combobox, associating the given data
with the item.
Adds the item to the end of the combobox, associating the given data
with the item.
\docparam{clientData}{Client data to associate with the item.}
\docparam{clientData}{Client data to associate with the item.}
+\wxheading{Return value}
+
+The index of the newly added item, may be different from the last one if the
+control has {\tt wxLB\_SORT} style.
+
\membersection{wxComboBox::Clear}\label{wxcomboboxclear}
\func{void}{Clear}{\void}
\membersection{wxComboBox::Clear}\label{wxcomboboxclear}
\func{void}{Clear}{\void}
\membersection{wxListBox::Append}\label{wxlistboxappend}
\membersection{wxListBox::Append}\label{wxlistboxappend}
-\func{void}{Append}{\param{const wxString\& }{ item}}
+\func{int}{Append}{\param{const wxString\& }{ item}}
Adds the item to the end of the list box.
Adds the item to the end of the list box.
-\func{void}{Append}{\param{const wxString\& }{ item}, \param{void* }{clientData}}
+\func{int}{Append}{\param{const wxString\& }{ item}, \param{void* }{clientData}}
Adds the item to the end of the list box, associating the given data
with the item.
Adds the item to the end of the list box, associating the given data
with the item.
\docparam{clientData}{Client data to associate with the item.}
\docparam{clientData}{Client data to associate with the item.}
+\wxheading{Return value}
+
+The index of the newly added item, may be different from the last one if the
+control has {\tt wxLB\_SORT} style.
+
\membersection{wxListBox::Clear}\label{wxlistboxclear}
\func{void}{Clear}{\void}
\membersection{wxListBox::Clear}\label{wxlistboxclear}
\func{void}{Clear}{\void}