From: Vadim Zeitlin Date: Thu, 7 Feb 2002 12:08:25 +0000 (+0000) Subject: fixed passing empty macro argument for VC++ X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/17e656b003b919551fe8a3f057f7d8ec35149c03 fixed passing empty macro argument for VC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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