Fix repainting on windows (bug 199159) by making sure to set ConsumeNoDefault on the paint event. r/sr=roc, a=asa.

This commit is contained in:
bryner%netscape.com 2003-03-29 23:31:20 +00:00
Родитель 4b40015139
Коммит 6633d815fd
1 изменённых файлов: 2 добавлений и 0 удалений

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

@ -1778,6 +1778,8 @@ NS_IMETHODIMP nsViewManager::DispatchEvent(nsGUIEvent *aEvent, nsEventStatus *aS
if (!view || !mContext)
break;
*aStatus = nsEventStatus_eConsumeNoDefault;
// The rect is in device units, and it's in the coordinate space of its
// associated window.
nsCOMPtr<nsIRegion> region = ((nsPaintEvent*)aEvent)->region;