X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c02c32922ecd6b3272c89669e3fe1304cd9dfac..c10f20703e5b4e9c605b908f480b863c89ca31ee:/src/generic/listctrl.cpp?ds=sidebyside diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 221fc0b6f5..d2f3b99675 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2480,8 +2480,6 @@ void wxListMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) ) continue; } - printf("Redrawing line %u\n", line); - GetLine(line)->DrawInReportMode( &dc, rectLine, GetLineHighlightRect(line), @@ -4922,4 +4920,14 @@ void wxListCtrl::SetItemCount(long count) m_mainWin->SetItemCount(count); } +void wxListCtrl::RefreshItem(long item) +{ + m_mainWin->RefreshLine(item); +} + +void wxListCtrl::RefreshItems(long itemFrom, long itemTo) +{ + m_mainWin->RefreshLines(itemFrom, itemTo); +} + #endif // wxUSE_LISTCTRL