mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 11:18:10 +02:00
LCL-Gtk2: make FillRect (winapi emulation) work even when current DC's brush is null, issue #40823, patch by Artem Izmaylov
This commit is contained in:
parent
ca5ac00672
commit
b70f3fdbe6
@ -773,7 +773,7 @@ var
|
||||
ClipArea: TGdkRectangle;
|
||||
begin
|
||||
BrushChanged := False;
|
||||
if not IsNullBrush then
|
||||
if (ABrush <> 0) and not PGdiObject(ABrush)^.IsNullBrush then
|
||||
begin
|
||||
if FHasTransf then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user