]> git.saurik.com Git - wxWidgets.git/commitdiff
Append() returns int, not void
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Dec 2002 23:27:29 +0000 (23:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Dec 2002 23:27:29 +0000 (23:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/choice.tex
docs/latex/wx/combobox.tex
docs/latex/wx/listbox.tex

index 7f909cc8aebcc60cfd4de509332fd0a2c131e304..80099cfac4d168e153b34cee54c6ef3632566c21 100644 (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
 with the item.
 
 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.}
 
 
 \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}
index 04deea757c672cb9f4f637c9771a53f575c8d7bb..fea3ae559c18bf4114032c8f4abea5762a185393 100644 (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
 with the item.
 
 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.}
 
 
 \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}
index 07b133a76c5d6b4d30382f8cc9a6f5049b5942ec..e19a2e32ec67c0940205274a469616da3709ed9c 100644 (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
 with the item.
 
 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.}
 
 
 \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}