Lines Matching refs:sub
536 TWindowMenu* sub = (static_cast<TWindowMenu*>(Submenu()));
537 if (sub) {
539 bool locked = sub->LockLooper();
541 sub->AttachedToWindow();
543 sub->UnlockLooper();
545 if (sub->CountItems() > 1) {
551 int totalChildren = sub->CountItems() - 4;
555 (sub->RemoveItem((int32)0));
559 sub->SetExpanded(true, myindex + childIndex);
567 TWindowMenu* sub = static_cast<TWindowMenu*>(Submenu());
569 if (sub) {
578 sub->AddItem(windowItem, 0);
581 sub->SetExpanded(false, 0);