mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 01:49:25 +02:00
Cocoa: Fix #40598 embedded form in TCocoaWSCustomForm.ShowHide()
This commit is contained in:
parent
46d79350b0
commit
d8a1016498
@ -1103,7 +1103,10 @@ begin
|
||||
|
||||
w := TCocoaWindowContent(AWinControl.Handle).lclOwnWindow;
|
||||
if not Assigned(w) then
|
||||
begin
|
||||
TCocoaWSWinControl.ShowHide(AWinControl);
|
||||
exit;
|
||||
end;
|
||||
|
||||
if AWinControl.HandleObjectShouldBeVisible then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user