richmemo: cocoa updating handle reference

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
skalogryz
2019-06-20 13:24:44 +00:00
parent b38dcbe737
commit fe98aaa771

View File

@ -216,7 +216,7 @@ begin
txt.setFrame(nr); txt.setFrame(nr);
txt.textContainer.setLineFragmentPadding(0); txt.textContainer.setLineFragmentPadding(0);
txt.callback := TLCLCommonCallback.Create(txt, AWinControl); txt.callback := TLCLCommonCallback.Create(txt, AWinControl, scr);
ns := NSStringUtf8(AParams.Caption); ns := NSStringUtf8(AParams.Caption);
txt.setString(ns); txt.setString(ns);
ns.release; ns.release;