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:
Vadim Zeitlin
2002-12-06 23:27:29 +00:00
parent 38c1f6f765
commit 801a492c49
3 changed files with 21 additions and 6 deletions

View File

@@ -89,11 +89,11 @@ Destructor, destroying the choice item.
\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 Adds the item to the end of the combobox, associating the given data
with the item. with the item.
@@ -104,6 +104,11 @@ 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} \membersection{wxChoice::Clear}\label{wxchoiceclear}
\func{void}{Clear}{\void} \func{void}{Clear}{\void}

View File

@@ -103,11 +103,11 @@ Destructor, destroying the combobox.
\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 Adds the item to the end of the combobox, associating the given data
with the item. with the item.
@@ -118,6 +118,11 @@ 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} \membersection{wxComboBox::Clear}\label{wxcomboboxclear}
\func{void}{Clear}{\void} \func{void}{Clear}{\void}

View File

@@ -115,11 +115,11 @@ Destructor, destroying the list box.
\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 Adds the item to the end of the list box, associating the given data
with the item. with the item.
@@ -130,6 +130,11 @@ 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} \membersection{wxListBox::Clear}\label{wxlistboxclear}
\func{void}{Clear}{\void} \func{void}{Clear}{\void}