Added parenthesis around macro arguments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2010-04-22 14:06:00 +00:00
parent 153107b402
commit d1358fcbd7

View File

@ -1018,13 +1018,13 @@ private:
// //
// This method of checking the type is compatible with VC6 // This method of checking the type is compatible with VC6
#define wxANY_CHECK_TYPE(any, T) \ #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 // This method of getting the value is compatible with VC6
#define wxANY_AS(any, T) \ #define wxANY_AS(any, T) \
any.As(static_cast<T*>(NULL)) (any).As(static_cast<T*>(NULL))
template<typename T> template<typename T>