mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-26 09:09:10 +02:00
LCL: fixed calling TApplication.OnShowHint
git-svn-id: trunk@44557 -
This commit is contained in:
parent
3dc25d4870
commit
7a5bfb6e30
@ -813,10 +813,10 @@ begin
|
||||
or (not HintInfo.HintWindowClass.InheritsFrom(THintWindow)) then
|
||||
HintInfo.HintWindowClass := HintWindowClass;
|
||||
|
||||
i:=FApplicationHandlers[ahtShowHint].Count;
|
||||
if CanShow and (i>0) then begin
|
||||
if CanShow then begin
|
||||
if Assigned(FOnShowHint) then
|
||||
FOnShowHint(HintInfo.HintStr, CanShow, HintInfo);
|
||||
i:=FApplicationHandlers[ahtShowHint].Count;
|
||||
while FApplicationHandlers[ahtShowHint].NextDownIndex(i) do
|
||||
TShowHintEvent(FApplicationHandlers[ahtShowHint][i])(HintInfo.HintStr, CanShow, HintInfo);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user