Avoid warnings with MSVC 5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -514,7 +514,9 @@ private:
|
||||
|
||||
#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
|
||||
|
||||
@@ -580,7 +582,7 @@ private:
|
||||
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxCommandEvent)
|
||||
};
|
||||
|
||||
#ifdef __VISUALC__
|
||||
#if defined(__VISUALC__) && (_MSC_VER > 1100)
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user