From 186237311f958242b49f583daef9aaf1a7659ffa Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 4 Apr 2009 21:37:27 +0000 Subject: [PATCH] SynEdit: Fix right-border-line on Windows. Lines longer than the right border, would cause gaps in the line git-svn-id: trunk@19223 - --- components/synedit/synedit.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/synedit/synedit.pp b/components/synedit/synedit.pp index 7c21f34aa4..72252483e4 100644 --- a/components/synedit/synedit.pp +++ b/components/synedit/synedit.pp @@ -3429,6 +3429,7 @@ begin Canvas.Pen.Width := 1; // Do everything else with API calls. This (maybe) realizes the new pen color. dc := Canvas.Handle; + SetBkMode(dc, TRANSPARENT); // If anything of the two pixel space before the text area is visible, then // fill it with the component background color.