mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 16:40:32 +02:00
Gtk2: fixed crash when -dDebug enabled. fixes issue #18016
git-svn-id: trunk@28401 -
This commit is contained in:
parent
d4249c0b3a
commit
761b8d3048
@ -25,7 +25,7 @@ begin
|
||||
|
||||
if (TObject(Target) is TCustomControl) then begin
|
||||
Include(TWinControlAccess(Target).FWinControlFlags, wcfEraseBackground);
|
||||
TWinControl(Target).Perform(LM_ERASEBKGND, PaintMsg.DC, 0);
|
||||
TWinControl(Target).Perform(LM_ERASEBKGND, PtrInt(PaintMsg.DC), 0);
|
||||
Exclude(TWinControlAccess(Target).FWinControlFlags, wcfEraseBackground);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user