mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 11:59:13 +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
|
begin
|
||||||
TextFlags := DST_PREFIXTEXT;
|
TextFlags := DST_PREFIXTEXT;
|
||||||
|
|
||||||
if not UseThemes and (AState = bsDisabled) then
|
if (AState = bsDisabled) then
|
||||||
TextFlags := TextFlags or DSS_DISABLED;
|
TextFlags := TextFlags or DSS_DISABLED;
|
||||||
|
|
||||||
if not ShowAccel then
|
if not ShowAccel then
|
||||||
|
Loading…
Reference in New Issue
Block a user