CtrlLib: NativePathLargeIcon, ArrayCtrl and EditField minor fixes, Draw: Rescale progress Gate, Painter: ImagePainter, DrawPainter

git-svn-id: svn://ultimatepp.org/upp/trunk@1052 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-04-08 12:28:46 +00:00
parent 89cab47f77
commit c5697e1cf7
8 changed files with 120 additions and 36 deletions

View file

@ -653,7 +653,7 @@ Point ArrayCtrl::FindCellCtrl(Ctrl *ctrl)
for(int j = 0; j < ci.GetCount(); j++)
if(IsCtrl(i, j)) {
CellCtrl& c = GetCtrl(i, j);
if(&c == ctrl || c.ctrl == ctrl)
if(&c == ctrl || c.ctrl == ctrl || c.ctrl->HasChildDeep(ctrl))
return Point(j, i);
}
}