From: John L. <jla...@gm...> - 2013-08-14 04:48:30
|
On Tue, Aug 13, 2013 at 11:26 AM, Andreas Falkenhahn <an...@fa... > wrote: > Hi, > > in the override function for wxImage::SetAlpha() in wxcore_override.hpp > there is > the following code: > > size_t size = 3*self->GetWidth()*self->GetHeight(); > memcpy(self->GetData(), data, wxMin(len, size)); > > I think this is wrong because alpha channel data is only one byte per > pixel. > Fixed in SVN, thanks! John |