Qt: use clBtnShadow and clBtnHighlight in TQtWidgetSet.DrawEdge(). issue #27278

git-svn-id: trunk@47329 -
This commit is contained in:
zeljko 2015-01-10 18:40:04 +00:00
parent f2491ead05
commit 60baaafb4a

View File

@ -1078,8 +1078,8 @@ begin
Dec(ClientRect.Bottom, 1);
QtDC.save;
try
ColorDark := ColorToRGB(cl3DDkShadow);
ColorLight := ColorToRGB(cl3DLight);
ColorDark := ColorToRGB(clBtnShadow);
ColorLight := ColorToRGB(clBtnHighlight);
if grfFlags and BF_FLAT <> 0 then
ColorLight := clSilver;
if grfFlags and BF_MONO <> 0 then
@ -1093,7 +1093,7 @@ begin
InflateRect(ClientRect, -1, -1);
if grfFlags and BF_MONO = 0 then
begin
ColorLight := ColorToRGB(clBtnHiLight);
ColorLight := ColorToRGB(clBtnHighlight);
ColorDark := ColorToRGB(clBtnShadow);
end;
if Edge and (BDR_SUNKENINNER or BDR_RAISEDINNER) <> 0 then