mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-01 06:23:46 +02:00
- small bug in TThemeServices.IsChecked
git-svn-id: trunk@11597 -
This commit is contained in:
parent
5492dc6a0d
commit
80c4aac4ea
@ -1906,7 +1906,10 @@ function TThemeServices.IsChecked(Details: TThemedElementDetails): Boolean;
|
||||
begin
|
||||
Result := False;
|
||||
if (Details.Element in [teButton]) then
|
||||
Result := (Details.State > 4) and (Details.State < 9);
|
||||
Result := (Details.State > 4) and (Details.State < 9)
|
||||
else
|
||||
if (Details.Element in [teToolBar]) then
|
||||
Result := (Details.State > 4);
|
||||
end;
|
||||
|
||||
function TThemeServices.IsMixed(Details: TThemedElementDetails): Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user