Lines Matching defs:lbox
328 void wxControlRenderer::DrawItems(const wxListBox *lbox,
331 DoDrawItems(lbox, itemFirst, itemLast);
334 void wxControlRenderer::DoDrawItems(const wxListBox *lbox,
344 wxCoord lineHeight = lbox->GetLineHeight();
350 wxSize size = lbox->GetClientSize();
359 lbox->CalcScrolledPosition(rect.x, rect.y, &rect.x, &rect.y);
368 m_dc.SetTextForeground(lbox->GetForegroundColour());
370 // an item should have the focused rect only when the lbox has focus, so
372 int itemCurrent = wxWindow::FindFocus() == (wxWindow *)lbox // cast needed
373 ? lbox->GetCurrentItem()
380 if ( lbox->IsSelected(n) )
386 wxCheckListBox *checklstbox = wxStaticCast(lbox, wxCheckListBox);
390 m_renderer->DrawCheckItem(m_dc, lbox->GetString(n),
398 m_renderer->DrawItem(m_dc, lbox->GetString(n), rect, flags);
409 void wxControlRenderer::DrawCheckItems(const wxCheckListBox *lbox,
412 DoDrawItems(lbox, itemFirst, itemLast, true);