mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 15:39:30 +02:00
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:
parent
ab53976800
commit
65ab258cc6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user