mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 07:37:02 +02:00
IDE: simplify code in build mode manager
git-svn-id: trunk@42004 -
This commit is contained in:
parent
699c0cbfe6
commit
d79ef4641e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user