short reason;
PRInt16 reason;
nsSelection::SetMouseDownState(PRBool aState){  if (mMouseDownState == aState)    return NS_OK;  mMouseDownState = aState;  if (!mMouseDownState)  {    short reason;    if (aState)      reason = nsISelectionListener::MOUSEDOWN_REASON;    else      reason = nsISelectionListener::MOUSEUP_REASON;    PostReason(reason);//not a drag reason    NotifySelectionListeners(nsISelectionController::SELECTION_NORMAL);//notify that reason is mouse up please.  }  return NS_OK;}