default theme engine: draw MDI title buttons flat

git-svn-id: trunk@13655 -
This commit is contained in:
paul 2008-01-06 17:16:55 +00:00
parent 13f1d93308
commit 483a34bcfc

View File

@ -1929,6 +1929,9 @@ begin
else
ADrawFlags := 0;
end;
if Details.Part in [WP_MDIMINBUTTON, WP_MDIRESTOREBUTTON, WP_MDICLOSEBUTTON] then
ADrawFlags := ADrawFlags or DFCS_FLAT;
if IsDisabled(Details) then
ADrawFlags := ADrawFlags or DFCS_INACTIVE else