Remove no longer needed event hack. Bug 146399, patch by Vidar Haarr

<vhaarr+bmo@gmail.com>, r=dbaron, sr=rbs
This commit is contained in:
bzbarsky@mit.edu
2005-12-08 01:44:30 +00:00
parent 81ecd15a7a
commit c6fcb74336
5 changed files with 2 additions and 35 deletions

View File

@@ -3312,9 +3312,8 @@ nsTextControlFrame::GetWidthInCharacters() const
}
}
// otherwise, see if CSS has a width specified. If so, work backwards to get the
// number of characters this width represents.
// XXX: otherwise, see if CSS has a width specified. If so, work backwards
// to get the number of characters this width represents.
// otherwise, the default is just returned.
return DEFAULT_COLUMN_WIDTH;
@@ -3346,22 +3345,6 @@ nsTextControlFrame::SetValueChanged(PRBool aValueChanged)
}
}
NS_IMETHODIMP
nsTextControlFrame::HandleEvent(nsPresContext* aPresContext,
nsGUIEvent* aEvent,
nsEventStatus* aEventStatus)
{
NS_ENSURE_ARG_POINTER(aEventStatus);
// temp fix until Bug 124990 gets fixed
if (aPresContext->IsPaginated() && NS_IS_MOUSE_EVENT(aEvent)) {
return NS_OK;
}
return nsStackFrame::HandleEvent(aPresContext, aEvent, aEventStatus);
}
/* static */ void
nsTextControlFrame::ShutDown()
{