fixed non-painting controls on certain resize operations in xpviewer.

git-svn-id: svn://10.0.0.236/trunk@15287 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
michaelp%netscape.com
1998-11-25 02:52:04 +00:00
parent 09aa40f079
commit db5101c6cd
2 changed files with 6 additions and 2 deletions

View File

@@ -759,8 +759,10 @@ nsWebShell::SetBounds(PRInt32 x, PRInt32 y, PRInt32 w, PRInt32 h)
mWindow->GetBorderSize(borderWidth, borderHeight);
// Don't have the widget repaint. Layout will generate repaint requests
// during reflow
// mWindow->Resize(x, y, w, h,
// PR_FALSE);
mWindow->Resize(x, y, w, h,
PR_FALSE);
PR_TRUE);
}
// Set the size of the content area, which is the size of the window minus the borders