git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10241
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// append all element of one array to another one
#define WX_APPEND_ARRAY(array, other) \
{ \
// append all element of one array to another one
#define WX_APPEND_ARRAY(array, other) \
{ \
- size_t count = other.Count(); \
+ size_t count = (other).Count(); \
for ( size_t n = 0; n < count; n++ ) \
{ \
for ( size_t n = 0; n < count; n++ ) \
{ \
+ (array).Add((other)[n]); \
// count on it)!
#define WX_CLEAR_ARRAY(array) \
{ \
// count on it)!
#define WX_CLEAR_ARRAY(array) \
{ \
- size_t count = array.Count(); \
+ size_t count = (array).Count(); \
for ( size_t n = 0; n < count; n++ ) \
{ \
for ( size_t n = 0; n < count; n++ ) \
{ \