printf("%i %i\n",width,height);
PRINTF("%i %i\n",width,height);
extern "C" void nsWindow_ResizeWidget(Widget w){  int width = 0;  int height = 0;  nsWindow *win = 0;  // Get the new size for the window  printf("Zuperdee says %-8p\n",(Widget&) w);  XtVaGetValues(w, XmNuserData, &win, XmNwidth, &width, XmNheight, &height, nsnull);  printf("%i %i\n",width,height);  // Setup the resize rectangle for the window.  nsRect bounds;  bounds.width = width;  bounds.height = height;  bounds.x = 0;  bounds.y = 0;  win->SetResizeRect(bounds);  if (! win->GetResized()) {    win->SetResized(PR_TRUE);    if (win->IsChild()) {       // Call refresh directly. Don't filter resize events.      nsWindow_Refresh_Callback(win);    }    else {       // XXX: KLUDGE: Do actual resize later. This lets most       // of the resize events come through before actually       // resizing. This is only needed for main (shell)       // windows. This should be replaced with code that actually       // Compresses the event queue.      XtAppAddTimeOut(win->mAppContext, 250, (XtTimerCallbackProc)nsWindow_Refresh_Callback, win);    }  }}