*CtrlLib: Fixed ArrayCtrl tab order of embedded widgets

git-svn-id: svn://ultimatepp.org/upp/trunk@2275 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-03-28 13:04:08 +00:00
parent 1743f45f9b
commit aacad3ec38

View file

@ -659,7 +659,10 @@ void ArrayCtrl::SyncCtrls(int from)
CellInfo& ci = cellinfo.At(i).At(j);
ci.Set(newctrl.Detach(), true, true);
Ctrl& c = ci.GetCtrl();
AddChild(&c, p);
if(p)
AddChild(&c, p);
else
AddChild(&c);
ct = true;
}
if(ct) {