mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
Removed call to XtMoveWidget since this breaks the IRIX build.
This commit is contained in:
parent
745cdc5330
commit
9a8bc6d711
@ -655,8 +655,8 @@ void nsWindow::Move(PRUint32 aX, PRUint32 aY)
|
||||
mBounds.y = aY;
|
||||
// UpdateVisibilityFlag();
|
||||
// UpdateDisplay();
|
||||
XtMoveWidget(mWidget, (Position)aX, (Position)GetYCoord(aY));
|
||||
// XtVaSetValues(mWidget, XmNx, aX, XmNy, GetYCoord(aY), nsnull);
|
||||
//XtMoveWidget(mWidget, (Position)aX, (Position)GetYCoord(aY));
|
||||
XtVaSetValues(mWidget, XmNx, aX, XmNy, GetYCoord(aY), nsnull);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
@ -673,6 +673,8 @@ void nsWindow::Resize(PRUint32 aWidth, PRUint32 aHeight, PRBool aRepaint)
|
||||
// UpdateVisibilityFlag();
|
||||
// UpdateDisplay();
|
||||
XtVaSetValues(mWidget, XmNx, mBounds.x, XmNy, mBounds.y, XmNwidth, aWidth, XmNheight, aHeight, nsnull);
|
||||
|
||||
// XtResizeWidget(mWidget, aWidth, aHeight, 0);
|
||||
}
|
||||
|
||||
|
||||
@ -690,7 +692,7 @@ void nsWindow::Resize(PRUint32 aX, PRUint32 aY, PRUint32 aWidth, PRUint32 aHeigh
|
||||
// UpdateVisibilityFlag();
|
||||
// UpdateDisplay();
|
||||
XtVaSetValues(mWidget, XmNx, aX, XmNy, GetYCoord(aY),
|
||||
XmNwidth, aWidth, XmNheight, aHeight, nsnull);
|
||||
XmNwidth, aWidth, XmNheight, aHeight, nsnull);
|
||||
}
|
||||
|
||||
|
||||
@ -1079,7 +1081,9 @@ void nsWindow::Scroll(PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect)
|
||||
Position x;
|
||||
Position y;
|
||||
XtVaGetValues(children[i], XtNx, &x, XtNy, &y, nsnull);
|
||||
XtMoveWidget(children[i], x + aDx, y + aDy);
|
||||
|
||||
XtVaSetValues(children[i], XmNx, x + aDx, XmNy, y + aDy, nsnull);
|
||||
// XtMoveWidget(children[i], x + aDx, y + aDy);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user