fixed painting client grid on csOpaque controls

git-svn-id: trunk@5175 -
This commit is contained in:
mattias 2004-02-05 14:22:26 +00:00
parent e06d1ce300
commit 0392591fb0

View File

@ -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;