window->DoPaint(aX, aY, aWidth, aHeight, NULL);
nsRect    rect; rect.x = aX; rect.y = aY; rect.width = aWidth; rect.height = aHeight; window->Invalidate(rect, PR_FALSE);
handle_superwin_paint(gint aX, gint aY,                      gint aWidth, gint aHeight, gpointer aData){  nsWindow *window = (nsWindow *)aData;  window->DoPaint(aX, aY, aWidth, aHeight, NULL);}