X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12e50065b4d2d94108c4180d3db24adefa588776..e56d25204f03b9046f883f37f00e890b7b643fe6:/include/wx/rawbmp.h?ds=sidebyside diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index 1a8551ca19..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 @@ -153,7 +154,7 @@ typedef wxPixelFormat wxImagePixelFormat; // the (most common) native bitmap format without alpha support #if defined(__WXMSW__) - // under MSW the RGB components are inversed, they're in BGR order + // under MSW the RGB components are reversed, they're in BGR order typedef wxPixelFormat wxNativePixelFormat; #define wxPIXEL_FORMAT_ALPHA 3 @@ -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_