if (DBG) fprintf(stderr, "In nsXtWidget_Resize_Callback\n");
fprintf(stderr, "In nsXtWidget_Resize_Callback 0x%x\n", p);
void nsXtWidget_Resize_Callback(Widget w, XtPointer p, XtPointer call_data){  if (DBG) fprintf(stderr, "In nsXtWidget_Resize_Callback\n");  nsWindow * widgetWindow = (nsWindow *) p ;  XmDrawingAreaCallbackStruct * cbs = (XmDrawingAreaCallbackStruct *)call_data;  if (cbs->reason == XmCR_RESIZE) {    nsSizeEvent event;    nsRect rect;    event.message = NS_SIZE;    event.widget  = (nsWindow *) p;    if (cbs->event != NULL) {      event.point.x = cbs->event->xbutton.x;      event.point.y = cbs->event->xbutton.y;    }    event.time    = 0; //TBD    event.windowSize = (nsRect *)&rect;    widgetWindow->GetBounds(rect);    widgetWindow->OnResize(event);  }}