bug 27180, make nsIWidget::Resize() consistently invalidate on Mac, Windows and Linux. r=pavlov

This commit is contained in:
beard%netscape.com 2000-02-15 21:40:31 +00:00
Родитель d357a9904d
Коммит bc2c174423
2 изменённых файлов: 11 добавлений и 0 удалений

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

@ -2449,6 +2449,9 @@ NS_IMETHODIMP nsWindow::Resize(PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
if (nNeedToShow)
Show(PR_TRUE);
if (aRepaint)
Invalidate(PR_FALSE);
return NS_OK;
}

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

@ -1182,6 +1182,10 @@ NS_METHOD nsWindow::Resize(PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
NS_IF_RELEASE(par);
}
if (aRepaint)
Invalidate(PR_FALSE);
return NS_OK;
}
@ -1231,6 +1235,10 @@ NS_METHOD nsWindow::Resize(PRInt32 aX,
NS_IF_RELEASE(par);
}
if (aRepaint)
Invalidate(PR_FALSE);
return NS_OK;
}