mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-16 19:29:33 +01:00
LCL: Prevent double painting CustomDBGrid. Merge request !65 by Petr Kristan.
This commit is contained in:
parent
07ae01b655
commit
6402a449b3
@ -500,7 +500,6 @@ type
|
||||
procedure PrepareCanvas(aCol,aRow: Integer; aState:TGridDrawState); override;
|
||||
procedure PrepareCellHints(aCol,aRow: Integer); override;
|
||||
procedure RemoveAutomaticColumns;
|
||||
procedure ResetSizes; override;
|
||||
procedure SaveGridOptions(Cfg: TXMLConfig); override;
|
||||
procedure SelectEditor; override;
|
||||
procedure SetEditText(ACol, ARow: Longint; const Value: string); override;
|
||||
@ -2865,12 +2864,6 @@ begin
|
||||
TDBGridColumns(Columns).RemoveAutoColumns;
|
||||
end;
|
||||
|
||||
procedure TCustomDBGrid.ResetSizes;
|
||||
begin
|
||||
LayoutChanged;
|
||||
inherited ResetSizes;
|
||||
end;
|
||||
|
||||
procedure TCustomDBGrid.SaveGridOptions(Cfg: TXMLConfig);
|
||||
var
|
||||
Path: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user