From: Francesco Montorsi <f18m_cpp217828@yahoo.it>
Date: Thu, 30 Oct 2008 10:39:54 +0000 (+0000)
Subject: fixed the error '& may not appear in macro parameter list' reported by running gcc... 
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bf505dfce5c7d07bfb464f597cbca03bd94b896c

fixed the error '& may not appear in macro parameter list' reported by running gcc preprocessor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/interface/wx/dynarray.h b/interface/wx/dynarray.h
index dc427b171d..4c5c0ab919 100644
--- a/interface/wx/dynarray.h
+++ b/interface/wx/dynarray.h
@@ -632,17 +632,17 @@ public:
 
 
 /**
-    This macro may be used to append all elements of the @a other array to the
-    @a array. The two arrays must be of the same type.
+    This macro may be used to append all elements of the @a wxArray_arrayToBeAppended
+    array to the @a wxArray_arrayToModify. The two arrays must be of the same type.
 */
-#define WX_APPEND_ARRAY(wxArray& array, wxArray& other)
+#define WX_APPEND_ARRAY(wxArray_arrayToModify, wxArray_arrayToBeAppended)
 
 /**
     This macro may be used to delete all elements of the array before emptying
     it. It can not be used with wxObjArrays - but they will delete their
     elements anyway when you call Empty().
 */
-#define WX_CLEAR_ARRAY(wxArray& array)
+#define WX_CLEAR_ARRAY(wxArray_arrayToBeCleared)
 
 //@{
 /**
@@ -777,8 +777,8 @@ public:
 //@}
 
 /**
-    This macro may be used to prepend all elements of the @a other array to the
-    @a array. The two arrays must be of the same type.
+    This macro may be used to prepend all elements of the @a wxArray_arrayToBePrepended
+    array to the @a wxArray_arrayToModify. The two arrays must be of the same type.
 */
-#define WX_PREPEND_ARRAY(wxArray& array, wxArray& other)
+#define WX_PREPEND_ARRAY(wxArray_arrayToModify, wxArray_arrayToBePrepended)