OS/2 bustage

This commit is contained in:
mkaply%us.ibm.com 2002-04-01 00:11:34 +00:00
parent 2ec6aa58df
commit 24d9c46374

View File

@ -117,7 +117,7 @@ nsNativeScrollbarFrame::Init(nsIPresContext* aPresContext, nsIContent* aContent,
nsCOMPtr<nsIDeviceContext> devContext;
aPresContext->GetDeviceContext(getter_AddRefs(devContext));
nsRect bounds(0,0,0,0);
rv = mScrollbar->Create(parentWidget, bounds, nsnull, devContext);
rv = mScrollbar->Create(NS_STATIC_CAST(nsIWidget*,parentWidget), bounds, nsnull, devContext);
mScrollbar->Show(PR_TRUE);
// defer telling the scrollbar about the mediator and the content