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

This commit is contained in:
michaelp%netscape.com 1998-11-25 02:52:04 +00:00
Родитель ec7cec6f62
Коммит 68b544027f
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

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