IDE: simplify code in build mode manager

git-svn-id: trunk@42004 -
This commit is contained in:
juha 2013-07-06 07:53:36 +00:00
parent 699c0cbfe6
commit d79ef4641e

View File

@ -542,15 +542,9 @@ end;
procedure TBuildModesForm.BuildModesStringGridDrawCell(Sender: TObject; aCol,
aRow: Integer; aRect: TRect; aState: TGridDrawState);
var
Canv: TCanvas;
begin
if (aCol=1) and (aRow=1) then
begin
Canv := (Sender as TStringGrid).Canvas;
// Canv.Brush.Color := clWindow;
Canv.FillRect(aRect);
end;
(Sender as TStringGrid).Canvas.FillRect(aRect);
end;
function TBuildModesForm.GetActiveBuildMode: TProjectBuildMode;