Qt: fixed LCLIntf.Frame3D. When FillBrush isn't filled then draw shaded box without brush (applies painter brush).issue #24445

git-svn-id: trunk@41291 -
This commit is contained in:
zeljko 2013-05-19 13:00:21 +00:00
parent bdec439cd2
commit 15dc88089b

View File

@ -2534,12 +2534,8 @@ begin
if lineWidth > 1 then
q_DrawWinPanel(Widget, x, y, w, h, Palette, Sunken, FillBrush)
else
begin
if FillBrush = nil then
q_DrawShadePanel(Widget, x, y, w, h, Palette, Sunken, 1, QPalette_background(Palette))
else
q_DrawShadePanel(Widget, x, y, w, h, Palette, Sunken, 1, FillBrush);
end;
q_DrawShadePanel(Widget, x, y, w, h, Palette, Sunken, 1, FillBrush);
if AppPalette <> nil then
begin
QPalette_destroy(AppPalette);