mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 05:19:14 +02:00
carbon: fix for WordWrap property set in design-time, #16296
git-svn-id: trunk@24721 -
This commit is contained in:
parent
7ca94731c5
commit
dd61038ebf
@ -910,8 +910,12 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
class function TCarbonWSCustomMemo.CreateHandle(const AWinControl: TWinControl;
|
||||
const AParams: TCreateParams): TLCLIntfHandle;
|
||||
var
|
||||
Memo : TCarbonMemo;
|
||||
begin
|
||||
Result := TLCLIntfHandle(TCarbonMemo.Create(AWinControl, AParams));
|
||||
Memo:=TCarbonMemo.Create(AWinControl, AParams);
|
||||
Memo.SetWordWrap(TCustomMemo(AWinControl).WordWrap);
|
||||
Result := TLCLIntfHandle(Memo);
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user