mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 03:22:36 +02:00
default theme engine: draw MDI title buttons flat
git-svn-id: trunk@13655 -
This commit is contained in:
parent
13f1d93308
commit
483a34bcfc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user