lcl: set down state of speedbutton when button was invoked by accelerator (based on patch of Benito van der Zander #0011826)

git-svn-id: trunk@16815 -
This commit is contained in:
paul 2008-10-01 01:23:17 +00:00
parent a60139801c
commit 0607f55e77

View File

@ -480,6 +480,8 @@ begin
if IsAccel(Message.CharCode, Caption) then
begin
Result := True;
if GroupIndex <> 0 then
SetDown(not FDown);
Click;
end else
Result := inherited DialogChar(Message);