This commit is contained in:
rods%netscape.com 1998-08-04 21:06:35 +00:00
Родитель 718a820c39
Коммит 6a960efaa5
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -259,11 +259,11 @@ void nsWindow::InitEvent(nsGUIEvent& event, PRUint32 aEventType, nsPoint* aPoint
if (mWnd != NULL) {
::ScreenToClient(mWnd, &cpos);
event.point.x = 0;
event.point.y = 0;
} else {
event.point.x = cpos.x;
event.point.y = cpos.y;
} else {
event.point.x = 0;
event.point.y = 0;
}
}
else { // use the point override if provided