From fbd278540ec8dc926da5ddf302da1b27fe978921 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 19 Jan 2000 23:06:28 +0000 Subject: [PATCH] documented macros *_EXPORTED_ARRAY git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/array.tex | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/docs/latex/wx/array.tex b/docs/latex/wx/array.tex index e449ca6ad8..1122c22ff8 100644 --- a/docs/latex/wx/array.tex +++ b/docs/latex/wx/array.tex @@ -141,8 +141,10 @@ WX\_DECLARE\_OBJARRAY macros and must be fully declared before you use WX\_DEFINE\_OBJARRAY macro. \helpref{WX\_DEFINE\_ARRAY}{wxdefinearray}\\ +\helpref{WX\_DEFINE\_EXPORTED\_ARRAY}{wxdefinearray}\\ \helpref{WX\_DEFINE\_SORTED\_ARRAY}{wxdefinesortedarray}\\ -\helpref{WX\_DECLARE\_OBJARRAY}{wxdeclareobjarray}\\ +\helpref{WX\_DEFINE\_SORTED\_EXPORTED\_ARRAY}{wxdefinesortedarray}\\ +\helpref{WX\_DECLARE\_EXPORTED\_OBJARRAY}{wxdeclareobjarray}\\ \helpref{WX\_DEFINE\_OBJARRAY}{wxdefineobjarray} \membersection{Constructors and destructors} @@ -220,8 +222,12 @@ does exactly the same as \helpref{Item()}{wxarrayitem} method. \func{}{WX\_DEFINE\_ARRAY}{\param{}{T}, \param{}{name}} +\func{}{WX\_DEFINE\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}} + This macro defines a new array class named {\it name} and containing the -elements of type {\it T}. Example: +elements of type {\it T}. The second form is used when compiling DLL +under Windows and array needs to be visible outside the DLL. +Example: \begin{verbatim} WX_DEFINE_ARRAY(int, wxArrayInt); @@ -237,8 +243,14 @@ wxArrayLong and wxArrayPtrVoid. \func{}{WX\_DEFINE\_SORTED\_ARRAY}{\param{}{T}, \param{}{name}} +\func{}{WX\_DEFINE\_SORTED\_EXPORTED\_ARRAY}{\param{}{T}, \param{}{name}} + This macro defines a new sorted array class named {\it name} and containing -the elements of type {\it T}. Example: +the elements of type {\it T}. The second form is used when compiling DLL +under Windows and array needs to be visible outside the DLL. + + +Example: \begin{verbatim} WX_DEFINE_SORTED_ARRAY(int, wxSortedArrayInt); @@ -270,8 +282,13 @@ wxArrayOfMyClass another(CompareMyClassObjects); \func{}{WX\_DECLARE\_OBJARRAY}{\param{}{T}, \param{}{name}} +\func{}{WX\_DECLARE\_EXPORTED\_OBJARRAY}{\param{}{T}, \param{}{name}} + This macro declares a new object array class named {\it name} and containing -the elements of type {\it T}. Example: +the elements of type {\it T}. The second form is used when compiling DLL +under Windows and array needs to be visible outside the DLL. + +Example: \begin{verbatim} class MyClass; -- 2.45.2