documented Number() as obsolete and added GetCount()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-12-25 22:29:48 +00:00
parent 17b898bb84
commit 28ca76100e
4 changed files with 48 additions and 1 deletions

View File

@@ -198,6 +198,12 @@ Returns a pointer to the client data associated with the given item (if any).
A pointer to the client data, or NULL if not present.
\membersection{wxListBox::GetCount}\label{wxlistboxgetcount}
\constfunc{int}{GetCount}{\void}
Returns the number of items in the listbox.
\membersection{wxListBox::GetSelection}\label{wxlistboxgetselection}
\constfunc{int}{GetSelection}{\void}
@@ -301,6 +307,12 @@ and {\tt items}.}
\constfunc{int}{Number}{\void}
{\bf Obsolescence note:} This method is obsolete and was replaced with
\helpref{GetCount}{wxlistboxgetcount}, please use the new method in the new
code. This method is only available if wxWindows was compiled with
{\tt WXWIN\_COMPATIBILITY\_2\_2} defined and will disappear completely in
future versions.
Returns the number of items in the listbox.
\membersection{wxListBox::Selected}\label{wxlistboxselected}