fixed WX_DEFINE_SORTED_ARRAY_INT example

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-01-24 22:15:58 +00:00
parent 7ee1ea9d99
commit 7d9d249be4

View File

@ -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