From 2f22353e37d4c16c39ad577ba3198a3f7bba5213 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 9 May 2003 23:50:43 +0000 Subject: [PATCH] fixed iterator over wxImage with alpha channel git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/rawbmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/rawbmp.h b/include/wx/rawbmp.h index b7f3b01c30..00f0179bc2 100644 --- a/include/wx/rawbmp.h +++ b/include/wx/rawbmp.h @@ -322,7 +322,7 @@ struct WXDLLEXPORT wxPixelDataOut { m_pRGB += PixelFormat::SizePixel; if ( m_pAlpha ) - m_pAlpha += PixelFormat::SizePixel; + ++m_pAlpha; return *this; } -- 2.45.2