Lines Matching refs:m_container
163 wxWindow *m_container;
301 m_container = NULL;
320 if (m_container != m_window && m_container)
322 m_container->SetEventHandler(m_container);
323 m_container->Destroy();
329 if (!m_container)
330 m_container = m_window;
333 m_container->SetCursor(cursor);
346 m_container->SetEventHandler(this);
375 dc.StartDrawingOnTop(m_container);
400 m_container->ClientToScreen(&cx, &cy);
401 m_container->ClientToScreen(&x, &y);
414 m_container->GetClientSize(&body_w, &body_h);
430 m_container->ClientToScreen(&x, &y);
473 win = sash_a->m_container->GetParent();
476 if (win == sash_b->m_container)
524 layout->left.SameAs(m_container, wxLeft);
525 layout->top.SameAs(m_container, wxTop);
528 layout->right.SameAs(m_container, wxRight);
529 layout->height.PercentOf(m_container, wxHeight, py);
533 layout->bottom.SameAs(m_container, wxBottom);
534 layout->width.PercentOf(m_container, wxWidth, px);
536 m_child[0]->m_container->SetConstraints(layout);
539 layout->right.SameAs(m_container, wxRight);
540 layout->bottom.SameAs(m_container, wxBottom);
543 layout->top.Below(m_child[0]->m_container, 1);
544 layout->left.SameAs(m_container, wxLeft);
548 layout->left.RightOf(m_child[0]->m_container, 1);
549 layout->top.SameAs(m_container, wxTop);
551 m_child[1]->m_container->SetConstraints(layout);
605 m_child[0]->m_container->Reparent(m_container);
606 m_child[1]->m_container->Reparent(m_container);
611 wxSize size = m_container->GetSize();
612 wxSize child_size = m_child[0]->m_container->GetSize();
617 m_container->Layout();
627 m_child[0]->m_container = new wxWindow(m_container, wxID_ANY);
633 m_leaf->m_child->Reparent(m_container);
638 m_child[1]->m_container = new wxWindow(m_container, wxID_ANY);
669 m_container->Layout();
697 m_container->ClientToScreen(NULL, &y);
698 h_parent->m_container->ScreenToClient(NULL, &y);
700 int py = (int)((y * 100) / h_parent->m_container->GetSize().GetHeight() + 0.5);
714 py = (int)((ho_parent->m_child[0]->m_container->GetSize().GetHeight() * 100)
715 / h_parent->m_container->GetSize().GetHeight() + 0.5);
716 h_parent->m_child[0]->m_container->GetConstraints()->height.PercentOf(
717 h_parent->m_container, wxHeight, py);
734 h_parent->m_child[0]->m_container->GetConstraints()->height.PercentOf(
735 h_parent->m_container, wxHeight, py);
736 h_parent->m_container->Layout();
747 (h_parent->m_container->GetSize().GetHeight() +
748 y - m_container->GetSize().GetHeight()) + 0.5);
761 frame->SetSize(size.GetWidth(), size.GetHeight() + y - m_container->GetSize().GetHeight());
767 m_container->ClientToScreen(&x, NULL);
768 v_parent->m_container->ScreenToClient(&x, NULL);
770 int px = (int)((x * 100) / v_parent->m_container->GetSize().GetWidth() + 0.5);
784 px = (int)((vo_parent->m_child[0]->m_container->GetSize().GetWidth() * 100)
785 / v_parent->m_container->GetSize().GetWidth() + 0.5);
786 v_parent->m_child[0]->m_container->GetConstraints()->width.PercentOf(
787 v_parent->m_container, wxWidth, px);
804 v_parent->m_child[0]->m_container->GetConstraints()->width.PercentOf(
805 v_parent->m_container, wxWidth, px);
806 v_parent->m_container->Layout();
817 (v_parent->m_container->GetSize().GetWidth() +
818 x - m_container->GetSize().GetWidth()) + 0.5);
831 frame->SetSize(size.GetWidth() + x - m_container->GetSize().GetWidth(), size.GetHeight());
861 m_container->Layout();
873 wxPaintDC dc(m_container);
874 dc.SetBackground(wxBrush(m_container->GetBackgroundColour(), wxSOLID));
911 m_container->CaptureMouse();
921 m_container->ReleaseMouse();
930 m_container->ReleaseMouse();
932 wxSize size = m_container->GetSize();
947 wxLayoutConstraints *layout = m_child[0]->m_container->GetConstraints();
950 layout->height.PercentOf(m_container, wxHeight, py);
954 layout->width.PercentOf(m_container, wxWidth, px);
956 m_container->Layout();
983 m_container->SetCursor(cursor);
1026 bool success = m_hscroll->Create(m_impl->m_container, wxID_ANY,
1030 success = m_vscroll->Create(m_impl->m_container, wxID_ANY,
1034 success = m_viewport->Create(m_impl->m_container, wxID_ANY);
1086 layout->left.SameAs(m_impl->m_container, wxLeft, 10);
1088 layout->bottom.SameAs(m_impl->m_container, wxBottom, 3);
1098 layout->top.SameAs(m_impl->m_container, wxTop, 10);
1100 layout->right.SameAs(m_impl->m_container, wxRight, 3);
1107 layout->left.SameAs(m_impl->m_container, wxLeft, 3);
1109 layout->top.SameAs(m_impl->m_container, wxTop, 3);
1113 m_impl->m_container->Layout();
1131 wxSize size = m_impl->m_container->GetSize();
1215 m_impl->m_container->Refresh();
1226 wxPaintDC dc(m_impl->m_container);
1227 dc.SetBackground(wxBrush(m_impl->m_container->GetBackgroundColour(), wxSOLID));
1234 wxSize size = m_impl->m_container->GetSize();
1359 m_impl->m_container->SetCursor(cursor);
1365 m_impl->m_container->SetCursor(cursor);
1382 m_impl->m_container->CaptureMouse();
1394 m_impl->m_container->ClientToScreen(&x, &y);
1395 parent->m_container->ScreenToClient(&x, &y);
1401 parent->m_container->CaptureMouse();