Themes: teEdit can be disabled too.

git-svn-id: trunk@62220 -
This commit is contained in:
zeljko 2019-11-10 12:44:54 +00:00
parent 4b89d0b040
commit 6e55b572be

View File

@ -2315,7 +2315,7 @@ begin
// teHeader should not be here, it has no disabled state
Result := False;
if (Details.Element in [teButton, teToolBar, teComboBox]) or
if (Details.Element in [teButton, teToolBar, teComboBox, teEdit]) or
((Details.Element = teRebar) and (Details.Part >= RP_BAND)) or
((Details.Element = teWindow) and (Details.Part >= WP_SYSBUTTON) and
(Details.Part <= WP_MDIHELPBUTTON)) then