Try to fix a flicker effect on the owner-drawed status bar panels.

This commit is contained in:
Ansgar Becker
2010-12-29 20:52:20 +00:00
parent eea43de0eb
commit b0048cff64

View File

@ -1066,6 +1066,7 @@ begin
ImageIndex := 150;
end;
end;
StatusBar.Canvas.FillRect(Rect);
if ImageIndex > -1 then begin
ImageListMain.Draw(StatusBar.Canvas, Rect.Left, Rect.Top, ImageIndex, true);
TextRect := Rect;