]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/array.tex
Added default value for "pos" parameter in constructor and Create function.
[wxWidgets.git] / docs / latex / wx / array.tex
index 5ed809ade276564479ad84e75ad7307a8595ad43..abbe0ff817cd12147b62f042ecd6b5213877946d 100644 (file)
@@ -288,10 +288,10 @@ needed for exporting an array from a user DLL.
 Example:
 
 \begin{verbatim}
 Example:
 
 \begin{verbatim}
-WX_DEFINE_ARRAY_INT(int, wxArrayInt);
+WX_DEFINE_ARRAY_INT(int, MyArrayInt);
 
 class MyClass;
 
 class MyClass;
-WX_DEFINE_ARRAY(MyClass *, wxArrayOfMyClass);
+WX_DEFINE_ARRAY(MyClass *, ArrayOfMyClass);
 \end{verbatim}
 
 Note that wxWidgets predefines the following standard array classes: wxArrayInt,
 \end{verbatim}
 
 Note that wxWidgets predefines the following standard array classes: wxArrayInt,
@@ -313,10 +313,10 @@ needed for exporting an array from a user DLL.
 Example:
 
 \begin{verbatim}
 Example:
 
 \begin{verbatim}
-WX_DEFINE_SORTED_ARRAY_INT(wxSortedArrayInt);
+WX_DEFINE_SORTED_ARRAY_INT(int, MySortedArrayInt);
 
 class MyClass;
 
 class MyClass;
-WX_DEFINE_SORTED_ARRAY(MyClass *, wxArrayOfMyClass);
+WX_DEFINE_SORTED_ARRAY(MyClass *, ArrayOfMyClass);
 \end{verbatim}
 
 You will have to initialize the objects of this class by passing a comparison
 \end{verbatim}
 
 You will have to initialize the objects of this class by passing a comparison
@@ -534,9 +534,9 @@ Return the number of items in the array.
 
 \membersection{wxArray::Index}\label{wxarrayindex}
 
 
 \membersection{wxArray::Index}\label{wxarrayindex}
 
-\func{int}{Index}{\param{T\& }{item}, \param{bool }{searchFromEnd = false}}
+\constfunc{int}{Index}{\param{T\& }{item}, \param{bool }{searchFromEnd = false}}
 
 
-\func{int}{Index}{\param{T\& }{item}}
+\constfunc{int}{Index}{\param{T\& }{item}}
 
 The first version of the function is for wxArray and wxObjArray, the second is
 for wxSortedArray only.
 
 The first version of the function is for wxArray and wxObjArray, the second is
 for wxSortedArray only.