From 801a492c49f0e4641046b4fbb3f2d18111b1b387 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Fri, 6 Dec 2002 23:27:29 +0000
Subject: [PATCH] Append() returns int, not void

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/choice.tex   | 9 +++++++--
 docs/latex/wx/combobox.tex | 9 +++++++--
 docs/latex/wx/listbox.tex  | 9 +++++++--
 3 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/docs/latex/wx/choice.tex b/docs/latex/wx/choice.tex
index 7f909cc8ae..80099cfac4 100644
--- a/docs/latex/wx/choice.tex
+++ b/docs/latex/wx/choice.tex
@@ -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}
diff --git a/docs/latex/wx/combobox.tex b/docs/latex/wx/combobox.tex
index 04deea757c..fea3ae559c 100644
--- a/docs/latex/wx/combobox.tex
+++ b/docs/latex/wx/combobox.tex
@@ -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}
diff --git a/docs/latex/wx/listbox.tex b/docs/latex/wx/listbox.tex
index 07b133a76c..e19a2e32ec 100644
--- a/docs/latex/wx/listbox.tex
+++ b/docs/latex/wx/listbox.tex
@@ -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}
-- 
2.45.2

