diff --git a/components/customdrawn/customdrawnextras.pas b/components/customdrawn/customdrawnextras.pas index 54c9d971d9..bbc89e4811 100644 --- a/components/customdrawn/customdrawnextras.pas +++ b/components/customdrawn/customdrawnextras.pas @@ -499,7 +499,7 @@ var ABmp: TBitmap = nil; lCanvas: TFPImageCanvas = nil; begin -// inherited Paint; + inherited Paint; PrepareCurrentDrawer(); @@ -511,6 +511,7 @@ begin lCanvas := TFPImageCanvas.create(AImage); FCurrentDrawer.DrawToIntfImage(lCanvas, Self); ABmp.LoadFromIntfImage(AImage); + Canvas.Draw(0, 0, ABmp); finally if lCanvas <> nil then lCanvas.Free; if AImage <> nil then AImage.Free;