// avoid triggering this stupid VC++ warning
#ifdef __VISUALC__
+ #if _MSC_VER > 1100
+ #pragma warning(push)
+ #endif
#pragma warning(disable:4355) // 'this' used in base member initializer list
#endif
DECLARE_EVENT_TABLE()
};
-#ifdef __VISUALC__
- #pragma warning(default:4355)
+#if defined(__VISUALC__) && (_MSC_VER > 1100)
+ #pragma warning(pop)
#endif
#endif