mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 08:58:23 +02:00
carbon: modified CarbonWSForm handle creation to use CreateParams for PopupParent
git-svn-id: trunk@27247 -
This commit is contained in:
parent
a390c1cde4
commit
dc60c4d504
@ -174,8 +174,8 @@ begin
|
||||
frm:=TCustomForm(AWinControl);
|
||||
if Assigned(frm) then
|
||||
begin
|
||||
if Assigned(frm.PopupParent) then
|
||||
SetPopupParent(frm, frm.PopupMode, frm.PopupParent);
|
||||
if (AParams.WndParent<>0) and ((AParams.Style and WS_CHILD) = 0) then
|
||||
SetWindowGroup(TCarbonWindow(Result).Window, GetWindowGroupOfClass(kHelpWindowClass));
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user