зеркало из https://github.com/mozilla/pjs.git
Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
_not_ what we want here... ;)
This commit is contained in:
Родитель
e60fc7dc8b
Коммит
b3048c6360
|
@ -1227,7 +1227,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;
|
||||
|
|
|
@ -1227,7 +1227,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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче