From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Tue, 24 Jan 2006 22:15:58 +0000 (+0000)
Subject: fixed WX_DEFINE_SORTED_ARRAY_INT example
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7d9d249be4bae53dd16f0a8ac044914c1410c90c?ds=sidebyside

fixed WX_DEFINE_SORTED_ARRAY_INT example


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/docs/latex/wx/array.tex b/docs/latex/wx/array.tex
index 5ed809ade2..91792f981d 100644
--- a/docs/latex/wx/array.tex
+++ b/docs/latex/wx/array.tex
@@ -288,10 +288,10 @@ needed for exporting an array from a user DLL.
 Example:
 
 \begin{verbatim}
-WX_DEFINE_ARRAY_INT(int, wxArrayInt);
+WX_DEFINE_ARRAY_INT(int, MyArrayInt);
 
 class MyClass;
-WX_DEFINE_ARRAY(MyClass *, wxArrayOfMyClass);
+WX_DEFINE_ARRAY(MyClass *, ArrayOfMyClass);
 \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}
-WX_DEFINE_SORTED_ARRAY_INT(wxSortedArrayInt);
+WX_DEFINE_SORTED_ARRAY_INT(int, MySortedArrayInt);
 
 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