Lines Matching refs:m_leaf
41 leaf (m_leaf) or a pointer to two children implementation objects
169 class wxDynamicSashWindowLeaf *m_leaf;
306 m_leaf = NULL;
313 delete m_leaf;
318 m_leaf = NULL;
335 m_leaf = new wxDynamicSashWindowLeaf(this);
336 if (!m_leaf)
339 if (!m_leaf->Create())
341 delete m_leaf;
342 m_leaf = NULL;
366 if (m_add_child_target && m_add_child_target->m_leaf)
367 m_add_child_target->m_leaf->AddChild(window);
506 if (m_child[0] == NULL && m_leaf == NULL)
511 return m_leaf->FindScrollBar(child, vert);
558 if (m_child[panel]->m_leaf)
567 m_leaf = new wxDynamicSashWindowLeaf(this);
568 m_leaf->Create();
569 m_leaf->m_child = child[panel]->m_leaf->m_child;
571 m_leaf->m_vscroll->SetScrollbar(child[panel]->m_leaf->m_vscroll->GetThumbPosition(),
572 child[panel]->m_leaf->m_vscroll->GetThumbSize(),
573 child[panel]->m_leaf->m_vscroll->GetRange(),
574 child[panel]->m_leaf->m_vscroll->GetPageSize());
575 m_leaf->m_hscroll->SetScrollbar(child[panel]->m_leaf->m_hscroll->GetThumbPosition(),
576 child[panel]->m_leaf->m_hscroll->GetThumbSize(),
577 child[panel]->m_leaf->m_hscroll->GetRange(),
578 child[panel]->m_leaf->m_hscroll->GetPageSize());
580 wxDynamicSashReparentEvent event(m_leaf);
581 m_leaf->ProcessEvent(event);
588 wxDynamicSashUnifyEvent unify(m_leaf->m_child);
589 m_leaf->m_child->ProcessEvent(unify);
631 if (m_leaf->m_child)
633 m_leaf->m_child->Reparent(m_container);
634 m_child[0]->AddChild(m_leaf->m_child);
647 wxDynamicSashSplitEvent split(m_child[0]->m_leaf->m_child);
648 m_child[0]->m_leaf->m_child->ProcessEvent(split);
650 m_child[0]->m_leaf->m_vscroll->SetScrollbar(m_leaf->m_vscroll->GetThumbPosition(),
651 m_leaf->m_vscroll->GetThumbSize(),
652 m_leaf->m_vscroll->GetRange(),
653 m_leaf->m_vscroll->GetPageSize());
654 m_child[0]->m_leaf->m_hscroll->SetScrollbar(m_leaf->m_hscroll->GetThumbPosition(),
655 m_leaf->m_hscroll->GetThumbSize(),
656 m_leaf->m_hscroll->GetRange(),
657 m_leaf->m_hscroll->GetPageSize());
658 m_child[1]->m_leaf->m_vscroll->SetScrollbar(m_leaf->m_vscroll->GetThumbPosition(),
659 m_leaf->m_vscroll->GetThumbSize(),
660 m_leaf->m_vscroll->GetRange(),
661 m_leaf->m_vscroll->GetPageSize());
662 m_child[1]->m_leaf->m_hscroll->SetScrollbar(m_leaf->m_hscroll->GetThumbPosition(),
663 m_leaf->m_hscroll->GetThumbSize(),
664 m_leaf->m_hscroll->GetRange(),
665 m_leaf->m_hscroll->GetPageSize());
666 delete m_leaf;
667 m_leaf = NULL;
863 if (m_leaf)
864 m_leaf->OnSize(event);
869 if (m_leaf)
870 m_leaf->OnPaint(event);
887 else if (m_leaf)
889 m_leaf->OnMouseMove(event);
895 if (m_leaf)
896 m_leaf->OnLeave(event);
901 if (m_leaf)
903 m_leaf->OnPress(event);
987 else if (m_leaf)
989 m_leaf->OnRelease(event);