OS/2 bustage - need cast here
git-svn-id: svn://10.0.0.236/trunk@116462 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
75d03301cf
commit
37a03f5b17
@ -1187,7 +1187,7 @@ nsObjectFrame::InstantiateWidget(nsIPresContext* aPresContext,
|
||||
|
||||
nsCOMPtr<nsIWidget> parent;
|
||||
parentWithView->GetOffsetFromWidget(nsnull, nsnull, *getter_AddRefs(parent));
|
||||
mWidget->Create(parent, r, nsnull, nsnull);
|
||||
mWidget->Create(NS_STATIC_CAST(nsIWidget*,parent), r, nsnull, nsnull);
|
||||
|
||||
mWidget->Show(PR_TRUE);
|
||||
return rv;
|
||||
|
||||
@ -1187,7 +1187,7 @@ nsObjectFrame::InstantiateWidget(nsIPresContext* aPresContext,
|
||||
|
||||
nsCOMPtr<nsIWidget> parent;
|
||||
parentWithView->GetOffsetFromWidget(nsnull, nsnull, *getter_AddRefs(parent));
|
||||
mWidget->Create(parent, r, nsnull, nsnull);
|
||||
mWidget->Create(NS_STATIC_CAST(nsIWidget*,parent), r, nsnull, nsnull);
|
||||
|
||||
mWidget->Show(PR_TRUE);
|
||||
return rv;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user