dangit forgot this one

This commit is contained in:
mjudge%netscape.com 2000-04-12 03:35:27 +00:00
parent bd0b4a8c70
commit c6128bbf01
2 changed files with 0 additions and 22 deletions

View File

@ -928,17 +928,6 @@ nsFrame::HandlePress(nsIPresContext* aPresContext,
return NS_OK; return NS_OK;
} }
//IF THIS FRAME IS GENERATED
result = kid->GetFrameState(&frameState);
if (NS_FAILED(result))
return result;
if (frameState & NS_FRAME_GENERATED_CONTENT) {
// It's generated content, so skip it!
skipThisKid = PR_TRUE;
nsMouseEvent *me = (nsMouseEvent *)aEvent; nsMouseEvent *me = (nsMouseEvent *)aEvent;
if (me->clickCount >1 ) if (me->clickCount >1 )
return HandleMultiplePress(aPresContext,aEvent,aEventStatus); return HandleMultiplePress(aPresContext,aEvent,aEventStatus);

View File

@ -928,17 +928,6 @@ nsFrame::HandlePress(nsIPresContext* aPresContext,
return NS_OK; return NS_OK;
} }
//IF THIS FRAME IS GENERATED
result = kid->GetFrameState(&frameState);
if (NS_FAILED(result))
return result;
if (frameState & NS_FRAME_GENERATED_CONTENT) {
// It's generated content, so skip it!
skipThisKid = PR_TRUE;
nsMouseEvent *me = (nsMouseEvent *)aEvent; nsMouseEvent *me = (nsMouseEvent *)aEvent;
if (me->clickCount >1 ) if (me->clickCount >1 )
return HandleMultiplePress(aPresContext,aEvent,aEventStatus); return HandleMultiplePress(aPresContext,aEvent,aEventStatus);