UPD: Cocoa: workaround code about WindowState removed by new Lcl/Cocoa version

(cherry picked from commit bb0f0026b5)
This commit is contained in:
rich2014 2023-10-01 20:32:22 +08:00 committed by Alexander Koblov
commit fafe1f2c68
2 changed files with 0 additions and 8 deletions

View file

@ -236,10 +236,6 @@ begin
frmMain.ShowOnTop;
Application.ProcessMessages;
{$IFDEF LCLCOCOA}
frmMain.RestoreWindow;
{$ENDIF}
Application.Run;
if not UniqueInstance.isAnotherDCRunningWhileIamRunning then

View file

@ -798,9 +798,7 @@ type
protected
procedure CreateWnd; override;
{$IFNDEF LCLCOCOA}
procedure DoFirstShow; override;
{$ENDIF}
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
const AXProportion, AYProportion: Double); override;
@ -4019,7 +4017,6 @@ begin
Application.MainForm.Tag:= Handle;
end;
{$IFNDEF LCLCOCOA}
procedure TfrmMain.DoFirstShow;
var
ANode: TXmlNode;
@ -4034,7 +4031,6 @@ begin
lastWindowState := WindowState;
end;
{$ENDIF}
procedure TfrmMain.WMMove(var Message: TLMMove);
begin