]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed iterator over wxImage with alpha channel
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 9 May 2003 23:50:43 +0000 (23:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 9 May 2003 23:50:43 +0000 (23:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/rawbmp.h

index b7f3b01c301ae3a4353614dc671b5b84c223be51..00f0179bc2fb3cb3674ef671dd5d2eac80c241a6 100644 (file)
@@ -322,7 +322,7 @@ struct WXDLLEXPORT wxPixelDataOut<wxImage>
             {
                 m_pRGB += PixelFormat::SizePixel;
                 if ( m_pAlpha )
-                    m_pAlpha += PixelFormat::SizePixel;
+                    ++m_pAlpha;
 
                 return *this;
             }