nsXFormsItemSetElement::OnCreated(nsIXTFGenericElementWrapper *aWrapper)
nsXFormsItemSetElement::OnCreated(nsIXTFBindableElementWrapper *aWrapper)
nsXFormsItemSetElement::OnCreated(nsIXTFGenericElementWrapper *aWrapper){  aWrapper->SetNotificationMask(nsIXTFElement::NOTIFY_PARENT_CHANGED |                                nsIXTFElement::NOTIFY_CHILD_INSERTED |                                nsIXTFElement::NOTIFY_CHILD_APPENDED |                                nsIXTFElement::NOTIFY_WILL_REMOVE_CHILD |                                nsIXTFElement::NOTIFY_BEGIN_ADDING_CHILDREN);  nsCOMPtr<nsIDOMElement> node;  aWrapper->GetElementNode(getter_AddRefs(node));  // It's ok to keep a pointer to mElement.  mElement will have an  // owning reference to this object, so as long as we null out mElement in  // OnDestroyed, it will always be valid.  mElement = node;  NS_ASSERTION(mElement, "Wrapper is not an nsIDOMElement, we'll crash soon");  return NS_OK;}