mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 12:30:36 +02:00
Revert "LCL: Add TCustomFrame.CreateParams. Somehow fixes issue #25124."
This reverts commit 20c1e10aca
.
This commit is contained in:
parent
9c982571d9
commit
8438ed9d98
@ -314,7 +314,6 @@ type
|
||||
procedure DefineProperties(Filer: TFiler); override;
|
||||
procedure CalculatePreferredSize(var PreferredWidth,
|
||||
PreferredHeight: integer; WithThemeSpace: Boolean); override;
|
||||
procedure CreateParams(var Params: TCreateParams); override;
|
||||
procedure UpdateOpaque;
|
||||
public
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
|
@ -197,13 +197,6 @@ begin
|
||||
WithThemeSpace);
|
||||
end;
|
||||
|
||||
procedure TCustomFrame.CreateParams(var Params: TCreateParams);
|
||||
begin
|
||||
inherited CreateParams(Params);
|
||||
if (Parent = nil) and (ParentWindow = 0) then
|
||||
Params.Style := Params.Style and not Cardinal(WS_GROUP or WS_TABSTOP or WS_CHILD);
|
||||
end;
|
||||
|
||||
procedure TCustomFrame.UpdateOpaque;
|
||||
begin
|
||||
if ParentBackground then
|
||||
|
Loading…
Reference in New Issue
Block a user