Commit bc9ea113 authored by ondrej's avatar ondrej
Browse files

lcl: grid: fix repainting issues when changing bounds on Gtk2. Issue #31518

git-svn-id: trunk@54381 -
parent 3cbd8029
......@@ -961,6 +961,7 @@ type
function DoMouseWheelUp(Shift: TShiftState; MousePos: TPoint): Boolean; override;
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
const AXProportion, AYProportion: Double); override;
procedure DoOnChangeBounds; override;
procedure DoOPDeleteColRow(IsColumn: Boolean; index: Integer);
procedure DoOPExchangeColRow(IsColumn: Boolean; index, WithIndex: Integer);
procedure DoOPInsertColRow(IsColumn: boolean; index: integer);
......@@ -6927,6 +6928,13 @@ begin
{$ifdef dbgScroll}DebugLn('doMouseWheelUP END');{$endif}
end;
procedure TCustomGrid.DoOnChangeBounds;
begin
inherited DoOnChangeBounds;
VisualChange;
end;
procedure TCustomGrid.KeyDown(var Key: Word; Shift: TShiftState);
var
Sh, PreserveRowAutoInserted: Boolean;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment