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@38030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-03-12 14:49:25 +00:00
parent e5efa97ec1
commit 43f06cfda1
5 changed files with 37 additions and 30 deletions

View File

@@ -40,28 +40,28 @@ recieves an activex event.}
\membersection{wxActiveXEvent::ParamCount}\label{wxactivexeventparamcount}
\constfunc{int}{ParamCount}{\void}
\constfunc{size_t}{ParamCount}{\void}
Obtains the number of parameters passed through the activex event.
\membersection{wxActiveXEvent::ParamType}\label{wxactivexeventparamtype}
\constfunc{wxString}{ParamType}{\param{int }{idx}}
\constfunc{wxString}{ParamType}{\param{size_t }{idx}}
Obtains the param type of the param number idx specifies as a string.
\membersection{wxActiveXEvent::ParamName}\label{wxactivexeventparamname}
\constfunc{wxString}{ParamName}{\param{int }{idx}}
\constfunc{wxString}{ParamName}{\param{size_t }{idx}}
Obtains the param name of the param number idx specifies as a string.
\membersection{wxActiveXEvent::operator[]}\label{wxactivexeventoparray}
\func{wxVariant&}{operator[]}{\param{int }{idx}}
\func{wxVariant&}{operator[]}{\param{size_t }{idx}}
Obtains the actual parameter value specified by idx.
@@ -72,4 +72,3 @@ Obtains the actual parameter value specified by idx.
Returns the dispatch id of this activex event. This is the numeric value from
the .idl file specified by the id().

View File

@@ -1,3 +1,14 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name: variant.tex
%% Purpose: wxVariant docs
%% Author: wxWidgets Team
%% Modified by:
%% Created: 01/30/2005
%% RCS-ID: $Id$
%% Copyright: (c) wxWidgets Team
%% License: wxWindows license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{\class{wxVariant}}\label{wxvariant}
The {\bf wxVariant} class represents a container for any type.
@@ -79,7 +90,7 @@ Construction from user-defined data. The variant holds onto the {\it data} poin
\func{}{wxVariant}{\param{wxDateTime\&}{ val}, \param{const wxString\& }{name = ``"}}
Construction from a \helpref{wxDateTime}{wxdatetime}.
Construction from a \helpref{wxDateTime}{wxdatetime}.
\func{}{wxVariant}{\param{wxArrayString\&}{ val}, \param{const wxString\& }{name = ``"}}
@@ -136,13 +147,13 @@ Retrieves and converts the value of this variant to the type that {\it value} is
\membersection{wxVariant::GetCount}\label{wxvariantgetcount}
\constfunc{int}{GetCount}{\void}
\constfunc{size_t}{GetCount}{\void}
Returns the number of elements in the list.
\membersection{wxVariant::Delete}\label{wxvariantdelete}
\func{bool}{Delete}{\param{int }{item}}
\func{bool}{Delete}{\param{size_t }{item}}
Deletes the zero-based {\it item} from the list.
@@ -479,11 +490,10 @@ Writes the data to {\it stream} or {\it string}.
This macro returns the data stored in {\it variant} cast to the type {\it classname *} if
the data is of this type (the check is done during the run-time) or
{\tt NULL} otherwise.
{\tt NULL} otherwise.
\wxheading{See also}
\helpref{RTTI overview}{runtimeclassoverview}\\
\helpref{wxDynamicCast}{wxdynamiccast}