carbon: modified CarbonWSForm handle creation to use CreateParams for PopupParent

git-svn-id: trunk@27247 -
This commit is contained in:
dmitry 2010-09-01 20:11:57 +00:00
parent a390c1cde4
commit dc60c4d504

View File

@ -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;