git-svn-id: trunk@19021 -
This commit is contained in:
dmitry 2009-03-18 09:54:52 +00:00
parent 02c50e3d3e
commit e734a9ddb8

View File

@ -305,6 +305,11 @@ var
Valid: Boolean;
begin
Result := inherited;
if not AWinControl.HandleAllocated then
begin
Result:=AWinControl.CanFocus;
Exit;
end;
if not CheckHandle(AWincontrol, Self, 'CanFocus') then Exit;
Bit := CFPreferencesGetAppIntegerValue(CFSTR('AppleKeyboardUIMode'),