Hi!
I have just detected that a part of my code with BGRA works fine with Linux/gtk2 but not with Windows 7.
A BGRABitmap.draw on a BitBtn.Glyph.canvas do not work in Win: Just a black glyph.
My temp code now looks that way:
var bit: TBGRABitmap
R : Trect;
BitBtn2 : TBitBtn;
....
{$IFDEF LINUX}
bit.draw(BitBtn2.Glyph.canvas,0,0,true);
{$ELSE}
R := Rect (0,0,wi,hi);
BitBtn2.Glyph.Canvas.CopyRect(R,bit.canvas,R);
{$ENDIF}
Bit.free;
So copyrect works fine in windows.
I don't know where this error is based and for a debug tour through the widget set I do not know enough about it.
Winni