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:
mkaply%us.ibm.com 2002-03-13 04:01:56 +00:00
parent 75d03301cf
commit 37a03f5b17
2 changed files with 2 additions and 2 deletions

View File

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

View File

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