mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 18:40:24 +02:00
SynEdit: Fix right-border-line on Windows. Lines longer than the right border, would cause gaps in the line
git-svn-id: trunk@19223 -
This commit is contained in:
parent
9c3c06ecf8
commit
186237311f
@ -3429,6 +3429,7 @@ begin
|
|||||||
Canvas.Pen.Width := 1;
|
Canvas.Pen.Width := 1;
|
||||||
// Do everything else with API calls. This (maybe) realizes the new pen color.
|
// Do everything else with API calls. This (maybe) realizes the new pen color.
|
||||||
dc := Canvas.Handle;
|
dc := Canvas.Handle;
|
||||||
|
SetBkMode(dc, TRANSPARENT);
|
||||||
|
|
||||||
// If anything of the two pixel space before the text area is visible, then
|
// If anything of the two pixel space before the text area is visible, then
|
||||||
// fill it with the component background color.
|
// fill it with the component background color.
|
||||||
|
Loading…
Reference in New Issue
Block a user