win32: draw disabled text if bitbtn is disabled even when themes are enabled (issue #0017106)

git-svn-id: trunk@27006 -
This commit is contained in:
paul 2010-08-04 10:29:37 +00:00
parent ab53976800
commit 65ab258cc6

View File

@ -262,7 +262,7 @@ var
begin
TextFlags := DST_PREFIXTEXT;
if not UseThemes and (AState = bsDisabled) then
if (AState = bsDisabled) then
TextFlags := TextFlags or DSS_DISABLED;
if not ShowAccel then