]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Corrected wxScrolledWindow's OnSize behaviour.
[wxWidgets.git] / src / generic / listctrl.cpp
index 221fc0b6f5006b7c96ad4eb9fcbc2aba5a01a236..d2f3b996759c4935f5632e7168f236075751a7a0 100644 (file)
@@ -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