git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34725
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifdef __VISUALC__
// 'this' : used in base member initializer list (for m_commandString)
- #pragma warning(push)
+ #if _MSC_VER > 1100
+ #pragma warning(push)
+ #endif
#pragma warning(disable:4355)
#endif
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxCommandEvent)
};
-#ifdef __VISUALC__
+#if defined(__VISUALC__) && (_MSC_VER > 1100)
#pragma warning(pop)
#endif
// avoid triggering this stupid VC++ warning
#ifdef __VISUALC__
- #pragma warning(push)
+ #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__
+#if defined(__VISUALC__) && (_MSC_VER > 1100)
#pragma warning(pop)
#endif