NS_ADDREF(anEvent.widget);
void InitExposeEvent(GdkEventExpose *aGEE,                            gpointer   p,                            nsPaintEvent &anEvent,                            PRUint32   aEventType){  anEvent.message = aEventType;  anEvent.widget  = (nsWidget *) p;  NS_ADDREF(anEvent.widget);  anEvent.eventStructType = NS_PAINT_EVENT;  if (aGEE != NULL) {    nsRect *rect = new nsRect(aGEE->area.x, aGEE->area.y,                              aGEE->area.width, aGEE->area.height);    anEvent.rect = rect;    anEvent.time = gdk_event_get_time((GdkEvent*)aGEE);  }}