]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
Implement wx_truncate_cast for VC++ 7.1 and later
[wxWidgets.git] / include / wx / event.h
index 939e8fce1e66dfc5c9179e0fbe1746ccdf02c871..11cbcd1fc39a5812b3a396d862bc6c096a863de0 100644 (file)
@@ -504,14 +504,6 @@ private:
 };
 #endif
 
-#ifdef __VISUALC__
-    // 'this' : used in base member initializer list (for m_commandString)
-    #if _MSC_VER > 1100
-        #pragma warning(push)
-    #endif
-    #pragma warning(disable:4355)
-#endif
-
 class WXDLLIMPEXP_CORE wxCommandEvent : public wxEvent
 {
 public:
@@ -574,10 +566,6 @@ private:
     DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxCommandEvent)
 };
 
-#if defined(__VISUALC__) && (_MSC_VER > 1100)
-    #pragma warning(pop)
-#endif
-
 #if WXWIN_COMPATIBILITY_2_4
 inline void wxCommandEventStringHelper::operator=(const wxString &str)
 {