From 17e656b003b919551fe8a3f057f7d8ec35149c03 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 7 Feb 2002 12:08:25 +0000 Subject: [PATCH] fixed passing empty macro argument for VC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dynarray.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index c0eee1dcdb..d96553737a 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -385,6 +385,8 @@ private: \ // the normal arrays otherwise. // ---------------------------------------------------------------------------- +#define wxARRAY_EMPTY_CMP + #define WX_DEFINE_SORTED_ARRAY(T, name) \ WX_DEFINE_SORTED_USER_EXPORTED_ARRAY(T, name, wxARRAY_DEFAULT_EXPORT) @@ -393,7 +395,7 @@ private: \ #define WX_DEFINE_SORTED_USER_EXPORTED_ARRAY(T, name, expmode) \ typedef T _wxArray##name; \ - _WX_DEFINE_SORTED_ARRAY(_wxArray##name, name, /* */, class expmode) + _WX_DEFINE_SORTED_ARRAY(_wxArray##name, name, wxARRAY_EMPTY_CMP, class expmode) // ---------------------------------------------------------------------------- // WX_DEFINE_SORTED_ARRAY_CMP: exactly the same as above but the comparison -- 2.50.0