LCL: Paint the focus rectangle white when UseXORFeatures=true, issue #33042

git-svn-id: trunk@57661 -
This commit is contained in:
jesus 2018-04-17 18:35:26 +00:00
parent 4662045bfa
commit 00d168199d

View File

@ -10398,7 +10398,7 @@ begin
if FUseXORFeatures then begin
Canvas.SaveHandleState;
OldFocusColor := FFocusColor;
FFocusColor:= clBlack;//White not visible on White background
FFocusColor:= clWhite;
OldPenMode:=Canvas.Pen.Mode;
Canvas.Pen.Mode := pmXOR;
end;