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

git-svn-id: svn://10.0.0.236/trunk@60930 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com
2000-02-15 21:40:31 +00:00
parent 44e8e5c8e8
commit 3a56959eaa
2 changed files with 11 additions and 0 deletions

View File

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

View File

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