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:
@@ -43,6 +43,7 @@ All:
|
|||||||
- Added support for wxLongLong in wx stream classes (Mark Junker)
|
- Added support for wxLongLong in wx stream classes (Mark Junker)
|
||||||
- wxSOCKET_REUSEADDR can be used with wxSocketClient.
|
- wxSOCKET_REUSEADDR can be used with wxSocketClient.
|
||||||
- Overloaded Connect and SetLocal methods for binding to local address/port.
|
- Overloaded Connect and SetLocal methods for binding to local address/port.
|
||||||
|
- Consistency of count getters (GetCount()) with returning size_t everywhere.
|
||||||
|
|
||||||
All (GUI):
|
All (GUI):
|
||||||
|
|
||||||
|
@@ -161,7 +161,7 @@ A pointer to the client data, or {\tt NULL} if not present.
|
|||||||
|
|
||||||
\membersection{wxControlWithItems::GetCount}\label{wxcontrolwithitemsgetcount}
|
\membersection{wxControlWithItems::GetCount}\label{wxcontrolwithitemsgetcount}
|
||||||
|
|
||||||
\constfunc{int}{GetCount}{\void}
|
\constfunc{size\_t}{GetCount}{\void}
|
||||||
|
|
||||||
Returns the number of items in the control.
|
Returns the number of items in the control.
|
||||||
|
|
||||||
@@ -366,5 +366,3 @@ the control.
|
|||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
\helpref{SetSelection}{wxcontrolwithitemssetselection}
|
\helpref{SetSelection}{wxcontrolwithitemssetselection}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -17,6 +17,7 @@ labelled buttons.
|
|||||||
|
|
||||||
\wxheading{Derived from}
|
\wxheading{Derived from}
|
||||||
|
|
||||||
|
\helpref{wxControlWithItems}{wxcontrolwithitems}\\
|
||||||
\helpref{wxControl}{wxcontrol}\\
|
\helpref{wxControl}{wxcontrol}\\
|
||||||
\helpref{wxWindow}{wxwindow}\\
|
\helpref{wxWindow}{wxwindow}\\
|
||||||
\helpref{wxEvtHandler}{wxevthandler}\\
|
\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.
|
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}
|
\membersection{wxRadioBox::GetLabel}\label{wxradioboxgetlabel}
|
||||||
|
|
||||||
\constfunc{wxString}{GetLabel}{\void}
|
\constfunc{wxString}{GetLabel}{\void}
|
||||||
|
@@ -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}
|
\section{\class{wxTreeCtrl}}\label{wxtreectrl}
|
||||||
|
|
||||||
A tree control presents information as a hierarchy, with items that may be expanded
|
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}
|
\membersection{wxTreeCtrl::GetCount}\label{wxtreectrlgetcount}
|
||||||
|
|
||||||
\constfunc{int}{GetCount}{\void}
|
\constfunc{size\_t}{GetCount}{\void}
|
||||||
|
|
||||||
Returns the number of items in the control.
|
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}}
|
\func{void}{UnselectItem}{\param{const wxTreeItemId\& }{item}}
|
||||||
|
|
||||||
Unselects the given item. This works in multiselection controls only.
|
Unselects the given item. This works in multiselection controls only.
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user