From d1358fcbd7c985159a6501882f03d35fe9b16337 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Thu, 22 Apr 2010 14:06:00 +0000 Subject: [PATCH] Added parenthesis around macro arguments git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/any.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/any.h b/include/wx/any.h index 64930ef66b..b5dac8fb7c 100644 --- a/include/wx/any.h +++ b/include/wx/any.h @@ -1018,13 +1018,13 @@ private: // // This method of checking the type is compatible with VC6 #define wxANY_CHECK_TYPE(any, T) \ - wxANY_VALUE_TYPE_CHECK_TYPE(any.GetType(), T) + wxANY_VALUE_TYPE_CHECK_TYPE((any).GetType(), T) // // This method of getting the value is compatible with VC6 #define wxANY_AS(any, T) \ - any.As(static_cast(NULL)) + (any).As(static_cast(NULL)) template -- 2.45.2