view->GetWidget(*getter_AddRefs(widget));
nsSplitterFrameImpl :: CaptureMouse(PRBool aGrabMouseEvents){    // get its view  nsIView* view = nsnull;  mSplitter->GetView(&view);  nsCOMPtr<nsIViewManager> viewMan;  PRBool result;  if (view) {    view->GetViewManager(*getter_AddRefs(viewMan));    if (viewMan) {      if (aGrabMouseEvents) {        viewMan->GrabMouseEvents(view,result);      } else {        viewMan->GrabMouseEvents(nsnull,result);      }    }  }  return NS_OK;}