if (listBox != nsnull && NS_OK == listBox->QueryInterface(kIListWidgetIID,(void**)&widget))
if (gListBox != nsnull && NS_OK == gListBox->QueryInterface(kIListWidgetIID,(void**)&widget))
nsEventStatus PR_CALLBACK ListBoxTestHandleEvent(nsGUIEvent *aEvent){  nsEventStatus   result = nsEventStatus_eIgnore;  nsIListWidget*  widget = nsnull;  if (listBox != nsnull && NS_OK == listBox->QueryInterface(kIListWidgetIID,(void**)&widget))  {    result = GenericListHandleEvent(aEvent, "ListBox", widget);    NS_RELEASE(listBox);  }  return result;}