# | Line 308 | Line 308 | begin | |
---|---|---|
308 | try | |
309 | Container.SetSize(Control.Width,Control.Height); | |
310 | Container.Canvas.Brush.Color := control.Color; | |
311 | + | Container.Canvas.FillRect(0,0,Control.Width,Control.Height); |
312 | Control.PaintTo(Container.Canvas,0,0); | |
313 | except | |
314 | Container.Free; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |