X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97cffad5942301d3b309087d1a7dec3d339d5c7c..285ba64d0d7e66faae78d357af1cc5386571b654:/include/wx/generic/scrolwin.h?ds=sidebyside diff --git a/include/wx/generic/scrolwin.h b/include/wx/generic/scrolwin.h index 801711d6ab..8ce2e14996 100644 --- a/include/wx/generic/scrolwin.h +++ b/include/wx/generic/scrolwin.h @@ -32,7 +32,9 @@ extern WXDLLEXPORT_DATA(const wxChar*) wxPanelNameStr; // 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 @@ -96,7 +98,7 @@ private: DECLARE_EVENT_TABLE() }; -#ifdef __VISUALC__ +#if defined(__VISUALC__) && (_MSC_VER > 1100) #pragma warning(pop) #endif