if (NS_OK == listBox->QueryInterface(kIListWidgetIID,(void**)&widget))
if (NS_OK == gListBox->QueryInterface(kIListWidgetIID,(void**)&widget))
nsEventStatus PR_CALLBACK DoSelfTests(nsGUIEvent *aEvent){  if (aEvent->message != NS_MOUSE_LEFT_BUTTON_UP) {    return nsEventStatus_eIgnore;  }  textSelfTest(gFD, "Password Text", passwordText);  	if (listBox)	{	  nsIListWidget* widget;	  if (NS_OK == listBox->QueryInterface(kIListWidgetIID,(void**)&widget))	  {	    listSelfTest(gFD, "ListBox", widget);	    NS_RELEASE(widget);	  }  }	if (comboBox)	{	  nsIListWidget* widget;	  if (NS_OK == comboBox->QueryInterface(kIListWidgetIID,(void**)&widget))	  {	    listSelfTest(gFD, "ComboBox", widget);	    NS_RELEASE(widget);	  }  }	if (gMultiListBox)	{	  multiListSelfTest(gFD, "Multi-ListBox", gMultiListBox);	}  return nsEventStatus_eIgnore;}