X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3103e8a97e834e9793f0eb149aa82a99fd64ef9a..6603071a994f30ad21f1f4e19f03397c360bfafa:/include/wx/rawbmp.h diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index 43e20ab6ed..1595183e51 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -73,6 +73,7 @@ #ifdef __VISUALC__ // VC++ gives an absolutely harmless warning for wxPixelData ctor + #pragma warning(push) #pragma warning(disable: 4355) // 'this' used in initializer list #endif @@ -712,13 +713,12 @@ typedef wxPixelData wxAlphaPixelData; partial template specialization then and neither VC6 nor VC7 provide it. */ template < class Image, class PixelFormat = wxPixelFormatFor > -struct wxPixelIterator : wxPixelData::Iterator +struct wxPixelIterator : public wxPixelData::Iterator { }; #ifdef __VISUALC__ - #pragma warning(default: 4355) - #pragma warning(default: 4097) + #pragma warning(pop) #endif #endif // _WX_RAWBMP_H_BASE_