From bf505dfce5c7d07bfb464f597cbca03bd94b896c Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Thu, 30 Oct 2008 10:39:54 +0000 Subject: [PATCH] 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 --- interface/wx/dynarray.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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) -- 2.45.2