mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 08:59:23 +02:00
fixed painting client grid on csOpaque controls
git-svn-id: trunk@5175 -
This commit is contained in:
parent
e06d1ce300
commit
0392591fb0
@ -1762,7 +1762,6 @@ begin
|
|||||||
with AWinControl.Controls[I] do begin
|
with AWinControl.Controls[I] do begin
|
||||||
if (Visible or ((csDesigning in ComponentState)
|
if (Visible or ((csDesigning in ComponentState)
|
||||||
and not (csNoDesignVisible in ControlStyle)))
|
and not (csNoDesignVisible in ControlStyle)))
|
||||||
and (csOpaque in ControlStyle)
|
|
||||||
then begin
|
then begin
|
||||||
Clip := ExcludeClipRect(aDDC.DC, Left, Top, Left + Width, Top + Height);
|
Clip := ExcludeClipRect(aDDC.DC, Left, Top, Left + Width, Top + Height);
|
||||||
if Clip = NullRegion then exit;
|
if Clip = NullRegion then exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user