just to write
\begin{verbatim}
-WX_DEFINE_ARRAY(int, ArrayOfDirectories);
-WX_DEFINE_SORTED_ARRAY(int, ArrayOfFiles);
+WX_DEFINE_ARRAY_INT(int, ArrayOfInts);
+WX_DEFINE_SORTED_ARRAY_INT(int, ArrayOfSortedInts);
\end{verbatim}
i.e. there is only one {\tt DEFINE} macro and no need for separate
passed to it is less than, equal to or greater than the second one.
wxSortedArray doesn't have this function because it is always sorted.
+