mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
89cab47f77
commit
c5697e1cf7
8 changed files with 120 additions and 36 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue