Cocoa: grammar literal fix

This commit is contained in:
rich2014 2023-06-11 13:53:16 +08:00
parent d27f5e3e4b
commit 719253ef26

View File

@ -365,7 +365,7 @@ begin
if Screen.Cursor<>crDefault then if Screen.Cursor<>crDefault then
SetScreenCursor SetScreenCursor
else else
SetCurrentControlCursor SetCurrentControlCursor;
end; end;
class procedure TCursorHelper.SetCursorOnActive; class procedure TCursorHelper.SetCursorOnActive;
@ -2017,7 +2017,7 @@ var
handle : PtrInt; handle : PtrInt;
begin begin
handle := SendSimpleMessage(control, LM_IM_COMPOSITION); handle := SendSimpleMessage(control, LM_IM_COMPOSITION);
Result := TObject(handle) as ICocoaIMEControl Result := TObject(handle) as ICocoaIMEControl;
end; end;
class function TCocoaWSCustomControl.CreateHandle(const AWinControl: TWinControl; class function TCocoaWSCustomControl.CreateHandle(const AWinControl: TWinControl;