mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 13:04:14 +02:00
lcl: grid: fix repainting issues when changing bounds on Gtk2. Issue #31518
git-svn-id: trunk@54381 -
This commit is contained in:
parent
3cbd802990
commit
bc9ea113b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user