-#if 0
- //FIXME: we should never need to call Layout at all because the
- // list does it automatically.
-// Maybe we need to change the scrollbar sizes or positions,
- // so layout the list and check:
- if(IsDirty())
- m_llist->Layout(dc);
- wxLogDebug("Update rect after calling Layout: %ld,%ld / %ld,%ld",
- r->x, r->y, r->x+r->width, r->y+r->height);
- // this is needed even when only the cursor moved
- m_llist->Layout(dc,y0+y1);
- wxLogDebug("Update rect after calling Layout again: %ld,%ld / %ld,%ld",
- r->x, r->y, r->x+r->width, r->y+r->height);
-#endif
-