http://bugs.winehq.org/show_bug.cgi?id=11818
--- Comment #9 from Jeremy White jwhite@codeweavers.com 2008-03-04 09:06:55 --- So the good news is that I suspect this bug is tractable; there must be some misuse of or around a call to GetDIBits.
The bad news is that I feel fairly certain that the suspect patch is correct, and all it's done is trigger the bug. That is, I think it mostly likely that there is another bug, and that the patch remains correct.
Sadly, I don't have Matlab or the bandwidth to pursue this myself. I would suggest that a fairly easy investigation to see exactly how GetDIBbits is being called is in order.