diff options
Diffstat (limited to 'gui/fpguibuttons.inc')
-rw-r--r-- | gui/fpguibuttons.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/fpguibuttons.inc b/gui/fpguibuttons.inc index 04aaf714..216f5044 100644 --- a/gui/fpguibuttons.inc +++ b/gui/fpguibuttons.inc @@ -113,6 +113,7 @@ begin inherited Paint(Canvas); Borders := Style.GetButtonBorders; + // setup the clip rectangle Canvas.IntersectClipRect(Rect(Borders.Left, Borders.Top, BoundsSize.cx - Borders.Right, BoundsSize.cy - Borders.Bottom)); |