mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 11:59:08 +02:00
custom controls now support child wincontrols
git-svn-id: trunk@2410 -
This commit is contained in:
parent
a7d3d137c8
commit
171619dd1d
@ -3070,7 +3070,8 @@ begin
|
|||||||
rcToken := AClip;
|
rcToken := AClip;
|
||||||
rcToken.Left := Max(AClip.Left, fGutterWidth);
|
rcToken.Left := Max(AClip.Left, fGutterWidth);
|
||||||
rcToken.Right := fGutterWidth + 2;
|
rcToken.Right := fGutterWidth + 2;
|
||||||
SetBkColor(dc, ColorToRGB(colEditorBG));
|
SetBkColor(dc,
|
||||||
|
{$IFDEF SYN_LAZARUS}colEditorBG{$ELSE}ColorToRGB(colEditorBG){$ENDIF});
|
||||||
InternalFillRect(dc, rcToken);
|
InternalFillRect(dc, rcToken);
|
||||||
// Adjust the invalid area to not include this area.
|
// Adjust the invalid area to not include this area.
|
||||||
AClip.Left := rcToken.Right;
|
AClip.Left := rcToken.Right;
|
||||||
|
Loading…
Reference in New Issue
Block a user