mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 16:49:07 +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;
|
w := TCocoaWindowContent(AWinControl.Handle).lclOwnWindow;
|
||||||
if not Assigned(w) then
|
if not Assigned(w) then
|
||||||
|
begin
|
||||||
|
TCocoaWSWinControl.ShowHide(AWinControl);
|
||||||
exit;
|
exit;
|
||||||
|
end;
|
||||||
|
|
||||||
if AWinControl.HandleObjectShouldBeVisible then
|
if AWinControl.HandleObjectShouldBeVisible then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user