Line-up interfaces to use size_t for GetCount()s (and count related api).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-03-14 19:30:06 +00:00
parent 77e79241e8
commit afbe150a76
4 changed files with 30 additions and 28 deletions

View File

@ -43,6 +43,7 @@ All:
- Added support for wxLongLong in wx stream classes (Mark Junker)
- wxSOCKET_REUSEADDR can be used with wxSocketClient.
- Overloaded Connect and SetLocal methods for binding to local address/port.
- Consistency of count getters (GetCount()) with returning size_t everywhere.
All (GUI):

View File

@ -161,7 +161,7 @@ A pointer to the client data, or {\tt NULL} if not present.
\membersection{wxControlWithItems::GetCount}\label{wxcontrolwithitemsgetcount}
\constfunc{int}{GetCount}{\void}
\constfunc{size\_t}{GetCount}{\void}
Returns the number of items in the control.
@ -366,5 +366,3 @@ the control.
\wxheading{See also}
\helpref{SetSelection}{wxcontrolwithitemssetselection}

View File

@ -17,6 +17,7 @@ labelled buttons.
\wxheading{Derived from}
\helpref{wxControlWithItems}{wxcontrolwithitems}\\
\helpref{wxControl}{wxcontrol}\\
\helpref{wxWindow}{wxwindow}\\
\helpref{wxEvtHandler}{wxevthandler}\\
@ -192,13 +193,6 @@ Finds a button matching the given string, returning the position if found, or
Returns the number of columns in the radiobox.
\membersection{wxRadioBox::GetCount}\label{wxradioboxgetcount}
\constfunc{int}{GetCount}{\void}
Returns the number of items in the radiobox.
\membersection{wxRadioBox::GetLabel}\label{wxradioboxgetlabel}
\constfunc{wxString}{GetLabel}{\void}

View File

@ -1,3 +1,14 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: treectrl.tex
%% Purpose: wxTreeCtrl documentation
%% Author: wxWidgets Team
%% Modified by:
%% Created:
%% RCS-ID: $Id$
%% Copyright: (c) wxWidgets Team
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxTreeCtrl}}\label{wxtreectrl}
A tree control presents information as a hierarchy, with items that may be expanded
@ -359,7 +370,7 @@ of descendants, otherwise only one level of children is counted.
\membersection{wxTreeCtrl::GetCount}\label{wxtreectrlgetcount}
\constfunc{int}{GetCount}{\void}
\constfunc{size\_t}{GetCount}{\void}
Returns the number of items in the control.
@ -976,5 +987,3 @@ all items if it does have this style.
\func{void}{UnselectItem}{\param{const wxTreeItemId\& }{item}}
Unselects the given item. This works in multiselection controls only.