mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 03:36:08 +02:00
Cocoa: Fix #40598 embedded form in TCocoaWSCustomForm.ShowHide()
This commit is contained in:
parent
1053612d8b
commit
c491890f84
@ -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