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:
@@ -288,10 +288,10 @@ needed for exporting an array from a user DLL.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
\begin{verbatim}
|
\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}
|
\end{verbatim}
|
||||||
|
|
||||||
Note that wxWidgets predefines the following standard array classes: wxArrayInt,
|
Note that wxWidgets predefines the following standard array classes: wxArrayInt,
|
||||||
@@ -313,10 +313,10 @@ needed for exporting an array from a user DLL.
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
\begin{verbatim}
|
\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}
|
\end{verbatim}
|
||||||
|
|
||||||
You will have to initialize the objects of this class by passing a comparison
|
You will have to initialize the objects of this class by passing a comparison
|
||||||
|
Reference in New Issue
Block a user