TCDProgressBar: Fixes the background, it should be hardcoded, not be the parent one

git-svn-id: trunk@37100 -
This commit is contained in:
sekelsenmat 2012-04-30 08:46:45 +00:00
parent 125a10ca75
commit b0c62dc7dd

View File

@ -1458,7 +1458,7 @@ var
lProgWidth, i: Integer;
begin
// Inside area, there is no background because the control occupies the entire area
ADest.Brush.Color := AStateEx.RGBColor;//WIN2000_FRAME_LIGHT_GRAY;
ADest.Brush.Color := WIN2000_BTNFACE;
ADest.Brush.Style := bsSolid;
ADest.Pen.Style := psClear;
ADest.Rectangle(0, 0, ASize.cx, ASize.cy);