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
This commit is contained in:
Francesco Montorsi 2008-10-30 10:39:54 +00:00
parent d7b99b162f
commit bf505dfce5

View File

@ -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)