X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/153107b4021fe0e6c3ad2ed510d3225f138eee83..7118e711dcf3bdb543d5e20cac2c45d50c691979:/include/wx/any.h 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