X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e38f59e899f48f2f4b282b191f580780dd9b5c5f..4f690a1d5e6192d0861686982e89f9f17a21e679:/docs/latex/wx/array.tex diff --git a/docs/latex/wx/array.tex b/docs/latex/wx/array.tex index dc2306e235..9910452a57 100644 --- a/docs/latex/wx/array.tex +++ b/docs/latex/wx/array.tex @@ -133,7 +133,11 @@ WX_DEFINE_SORTED_ARRAY_INT(int, ArrayOfSortedInts); \end{verbatim} i.e. there is only one {\tt DEFINE} macro and no need for separate -{\tt DECLARE} one. +{\tt DECLARE} one. For the arrays of the primitive types, the macros +{\tt WX\_DEFINE\_ARRAY\_CHAR/SHORT/INT/SIZE\_T/LONG/DOUBLE} should be used +depending on the sizeof of the values (notice that storing values of smaller +type, e.g. shorts, in an array of larger one, e.g. {\tt ARRAY\_INT}, does +\emph{not} work on all architectures!). \wxheading{See also:}