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; }