diff --git a/lcl/interfaces/cocoa/cocoawsforms.pas b/lcl/interfaces/cocoa/cocoawsforms.pas index eccdd301c8..4a84a298b6 100644 --- a/lcl/interfaces/cocoa/cocoawsforms.pas +++ b/lcl/interfaces/cocoa/cocoawsforms.pas @@ -457,7 +457,7 @@ var begin Bounds := HandleFrame.lclFrame; LCLSendSizeMsg(Target, Bounds.Right - Bounds.Left, Bounds.Bottom - Bounds.Top, - Owner.lclWindowState, True); + HandleFrame.lclWindowState, True); end; function TLCLWindowCallback.GetEnabled: Boolean;