rem: rect.pos = wmkpoint(x,y); rect.size = wmksize(width, height);
add: wassertr(table->delegate->numberOfRows);
context: static void repaintTable(WMTableView *table, int x, int y, 			 int width, int height){    WMRect rect;    WMRange rows;    int i;        wassertr(table->delegate && table->delegate->numberOfRows);    i = (*table->delegate->numberOfRows)(table->delegate, table);    if (i != table->rows) {	table->rows = i;	W_ResizeView(table->tableView, table->tableWidth, 		     table->rows * table->rowHeight + 1);       }        if (x >= table->tableWidth-1)	return;        rect.pos = wmkpoint(x,y);    rect.size = wmksize(width, height);        if (table->drawsGrid) {	drawGrid(table, rect);    }        rows = rowsInRect(table, rect);    for (i = rows.position;	 i < WMIN(rows.position+rows.count + 1, table->rows);	 i++) {	drawRow(table, i, rect);    }}