#ifdef __VISUALC__
// VC++ gives an absolutely harmless warning for wxPixelData<wxBitmap> ctor
+ #pragma warning(push)
#pragma warning(disable: 4355) // 'this' used in initializer list
#endif
partial template specialization then and neither VC6 nor VC7 provide it.
*/
template < class Image, class PixelFormat = wxPixelFormatFor<Image> >
-struct wxPixelIterator : wxPixelData<Image, PixelFormat>::Iterator
+struct wxPixelIterator : public wxPixelData<Image, PixelFormat>::Iterator
{
};
#ifdef __VISUALC__
- #pragma warning(default: 4355)
- #pragma warning(default: 4097)
+ #pragma warning(pop)
#endif
#endif // _WX_RAWBMP_H_BASE_