git-svn-id: svn://ultimatepp.org/upp/trunk@572 f0d560ea-af0d-0410-9eb7-867de7ffcac7

This commit is contained in:
cxl 2008-10-29 22:39:36 +00:00
parent f134e5d620
commit e211e97309

View file

@ -742,6 +742,10 @@ Size ArrayCtrl::DoPaint(Draw& w, bool sample) {
Color fg, bg;
Value q;
const Display& d = GetCellInfo(i, jj, hasfocus0, q, fg, bg, st);
if(i == 0) { _DBG_
DDUMP(r);
DDUMP(w.IsPainting(r));
}
if(sample || w.IsPainting(r))
if(cw < 2 * cm || editmode && i == cursor && column[jj].edit)
d.PaintBackground(w, r, q, fg, bg, st);