NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent) {	return NS_OK; }
nsEventStatus PR_CALLBACK nsWebBrowser::HandleEvent(nsGUIEvent *aEvent) { nsEventStatus  result = nsEventStatus_eIgnore; nsWebBrowser  *browser = nsnull; void          *data = nsnull;  if (!aEvent->widget) return result;  aEvent->widget->GetClientData(data); if (!data) return result;  browser = NS_STATIC_CAST(nsWebBrowser *, data);  switch(aEvent->message) {  case NS_PAINT: { nsPaintEvent *paintEvent = NS_STATIC_CAST(nsPaintEvent *, aEvent); nsIRenderingContext *rc = paintEvent->renderingContext; nscolor oldColor; rc->GetColor(oldColor); rc->SetColor(browser->mBackgroundColor); rc->FillRect(*paintEvent->rect); rc->SetColor(oldColor); break; }  default: break; }  return result;   }
  NS_IMETHOD HandleEvent(nsIDOMEvent* aEvent) {	return NS_OK; }