LCL carbon: reverted 17463 #4a42c817e5 as Dmitry Boyarintsev pointed

git-svn-id: trunk@17470 -
This commit is contained in:
tombo 2008-11-20 09:55:50 +00:00
parent b5f8b6bb2a
commit 88c3884a6d

View File

@ -323,7 +323,7 @@ var
const
SName = 'CarbonCommon_SetFocusPart';
begin
if AWidget is TCarbonWindow then
if not (AWidget is TCarbonCustomControl) or (AWidget is TCarbonWindow) then
Result := CallNextEventHandler(ANextHandler, AEvent);
if OSError(