mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 02:40:36 +01:00
LCL Carbon TMemo: do not create scroll bars if ssNone
git-svn-id: trunk@16167 -
This commit is contained in:
parent
caea24aa16
commit
d4cd9670ca
@ -168,7 +168,6 @@ type
|
||||
procedure SetScrollBars(const AValue: TScrollStyle);
|
||||
protected
|
||||
function GetFrame(Index: Integer): ControlRef; override;
|
||||
function GetForceEmbedInScrollView: Boolean; override;
|
||||
procedure CreateWidget(const AParams: TCreateParams); override;
|
||||
procedure DestroyWidget; override;
|
||||
public
|
||||
@ -1340,14 +1339,6 @@ begin
|
||||
Result := FScrollView;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Method: TCarbonMemo.GetForceEmbedInScrollView
|
||||
Returns: Whether use scroll view even if no scroll bars are needed
|
||||
------------------------------------------------------------------------------}
|
||||
function TCarbonMemo.GetForceEmbedInScrollView: Boolean;
|
||||
begin
|
||||
Result := True;
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
Method: TCarbonMemo.CreateWidget
|
||||
|
||||
Loading…
Reference in New Issue
Block a user