From: Vadim Zeitlin Date: Fri, 9 May 2003 23:50:43 +0000 (+0000) Subject: fixed iterator over wxImage with alpha channel X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2f22353e37d4c16c39ad577ba3198a3f7bba5213?ds=sidebyside fixed iterator over wxImage with alpha channel git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }