lcl: pass Sender to TExceptionEvent instead of Application

git-svn-id: trunk@19098 -
This commit is contained in:
paul 2009-03-25 10:21:01 +00:00
parent ffe4e89cf0
commit dee3b9ff40

View File

@ -1076,7 +1076,7 @@ begin
if Assigned(OnException) then
OnException(Sender, Exception(ExceptObject));
while FApplicationHandlers[ahtException].NextDownIndex(i) do
TExceptionEvent(FApplicationHandlers[ahtException][i])(Self,Exception(ExceptObject));
TExceptionEvent(FApplicationHandlers[ahtException][i])(Sender, Exception(ExceptObject));
end
else
ShowException(Exception(ExceptObject));