gtk: skip ROP2 for FillRect (partly fixes issue #0013746)

git-svn-id: trunk@20031 -
This commit is contained in:
paul 2009-05-19 01:57:18 +00:00
parent 7dcf00f903
commit ef226daf23

View File

@ -4321,6 +4321,7 @@ begin
//DebugLn('TGtkWidgetSet.FillRect Color=',DbgS(CurrentBrush^.GDIBrushColor.ColorRef));
SelectBrushProps;
gdk_gc_set_function(GC, GDK_COPY);
DCOrigin := Offset;
if (CurrentBrush^.GDIBrushFill = GDK_SOLID) and
@ -4336,6 +4337,7 @@ begin
Rect.Left+DCOrigin.X, Rect.Top+DCOrigin.Y,
Width, Height);
end;
gdk_gc_set_function(GC, GCValues._function);
// Restore current brush
if BrushChanged then