mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-25 00:36:17 +02:00
LCL: Paint the focus rectangle white when UseXORFeatures=true, issue #33042
git-svn-id: trunk@57661 -
This commit is contained in:
parent
4662045bfa
commit
00d168199d
@ -10398,7 +10398,7 @@ begin
|
|||||||
if FUseXORFeatures then begin
|
if FUseXORFeatures then begin
|
||||||
Canvas.SaveHandleState;
|
Canvas.SaveHandleState;
|
||||||
OldFocusColor := FFocusColor;
|
OldFocusColor := FFocusColor;
|
||||||
FFocusColor:= clBlack;//White not visible on White background
|
FFocusColor:= clWhite;
|
||||||
OldPenMode:=Canvas.Pen.Mode;
|
OldPenMode:=Canvas.Pen.Mode;
|
||||||
Canvas.Pen.Mode := pmXOR;
|
Canvas.Pen.Mode := pmXOR;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user