Append() returns int, not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -89,11 +89,11 @@ Destructor, destroying the choice item.
|
||||
|
||||
\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.
|
||||
|
||||
\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.
|
||||
@@ -104,6 +104,11 @@ 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}
|
||||
|
@@ -103,11 +103,11 @@ Destructor, destroying the combobox.
|
||||
|
||||
\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.
|
||||
|
||||
\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.
|
||||
@@ -118,6 +118,11 @@ 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}
|
||||
|
@@ -115,11 +115,11 @@ Destructor, destroying the list box.
|
||||
|
||||
\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.
|
||||
|
||||
\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.
|
||||
@@ -130,6 +130,11 @@ 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}
|
||||
|
Reference in New Issue
Block a user